X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Froundcube-core.cron.daily;h=ec4bfd77236e3d55d9c5e48c8283bb7c97757e46;hb=d832c6b37ce0cba5a2bc015b1c806ba6990c4253;hp=0fe51fc1e21364cf1e11a3a1f446d6912985adf5;hpb=1d71e64ce671c0ea02378e927351980598c507f8;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