From: Don Armstrong Date: Thu, 2 Nov 2017 18:11:17 +0000 (-0700) Subject: move depth option earlier X-Git-Tag: debian/1.0.2-5~5 X-Git-Url: https://git.donarmstrong.com/deb_pkgs/libapache-gallery-perl.git?p=deb_pkgs%2Flibapache-gallery-perl.git;a=commitdiff_plain;h=eca84915a635bb9a829dc5026827bcca7d8af7b2 move depth option earlier --- diff --git a/debian/cron.daily b/debian/cron.daily index 3a80f98..9c9a6c8 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -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