X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Froundcube-core.cron.daily;h=ec4bfd77236e3d55d9c5e48c8283bb7c97757e46;hb=511160353722ebec8c258ddd6fa963ec8851eede;hp=0fe51fc1e21364cf1e11a3a1f446d6912985adf5;hpb=b5ab37c468c06dc61bb8a9578ef9ac3bd0db4932;p=roundcube.git diff --git a/debian/roundcube-core.cron.daily b/debian/roundcube-core.cron.daily index 0fe51fc..ec4bfd7 100644 --- a/debian/roundcube-core.cron.daily +++ b/debian/roundcube-core.cron.daily @@ -6,4 +6,6 @@ if [ -r /etc/default/roundcube-core ]; then . /etc/default/roundcube-core fi -find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm +if [ -d /var/lib/roundcube/temp ]; then + find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm +fi