X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.weekly-non-US;h=0873e752773bf1b6f092daf0a23d88ae367edc5d;hb=950d3a6f5d3733d912a9e9b586d8de7d9405db7b;hp=cda53afe38e6e8ad18f95d72db8538854939959b;hpb=660b1949dc2e704ccd9bb8a4686d68f90fbe32d2;p=dak.git diff --git a/cron.weekly-non-US b/cron.weekly-non-US index cda53afe..0873e752 100755 --- a/cron.weekly-non-US +++ b/cron.weekly-non-US @@ -1,6 +1,6 @@ #!/bin/sh # -# Run once a week via cron, out of troup's crontab. +# Run once a week via cron, out of katie's crontab. set -e export SCRIPTVARS=/org/non-us.debian.org/katie/vars-non-US @@ -8,14 +8,10 @@ export SCRIPTVARS=/org/non-us.debian.org/katie/vars-non-US ################################################################################ -# Clean out incoming - -shania - # Purge empty directories -if [ ! -z "$(find $ftpdir/pool/ -type d -empty)" ]; then - find $ftpdir/pool/ -type d -empty | xargs rmdir; +if [ ! -z "$(find $ftpdir/pool/ -type d -empty)" ]; then + find $ftpdir/pool/ -type d -empty | xargs rmdir; fi # Clean up apt-ftparchive's databases