]> git.donarmstrong.com Git - deb_pkgs/libapache-gallery-perl.git/blobdiff - debian/cron.daily
move depth option earlier
[deb_pkgs/libapache-gallery-perl.git] / debian / cron.daily
index 3a80f98f37ace16a0502edd8e102f9dad4b5488a..9c9a6c8150968b06b95824e78d1348ac05ad1b3c 100644 (file)
@@ -17,7 +17,7 @@ if [ -d "$cachedir" ]; then
     # remove empty directories
     start-stop-daemon --start --pidfile /dev/null --startas /bin/sh \
        --oknodo --chuid "$user" -- -c \
-       "find '$cachedir' -mindepth 1 -depth -type d -print0 | \
+       "find '$cachedir' -depth -mindepth 1 -type d -print0 | \
         xargs -r0 rmdir --ignore-fail-on-non-empty"
 fi