X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcron.weekly;h=ee57d39ffc762c5acae1c8bedc5edc5bc028b770;hb=2de2a91cbde91f3ecef5475829f7620edd94a14b;hp=fcdffb029e7ea3ce34ab188dae621d5f704df329;hpb=581734fc02c573df78d044fa8c68b18fa8c96397;p=dak.git diff --git a/config/backports/cron.weekly b/config/backports/cron.weekly index fcdffb02..ee57d39f 100755 --- a/config/backports/cron.weekly +++ b/config/backports/cron.weekly @@ -2,6 +2,7 @@ # set -e +set -o pipefail set -u # ERR traps should be inherited from functions too. (And command # substitutions and subshells and whatnot, but for us the functions is @@ -29,15 +30,10 @@ if [ ! -z "$(find $ftpdir/pool/ -type d -empty)" ]; then find $ftpdir/pool/ -type d -empty | xargs rmdir; fi -# Clean up apt-ftparchive's databases - -echo "Splitting queue/done" -dak split-done - # Clean up apt-ftparchive's databases cd $configdir -echo "Cleanup apt-ftparchive's database" -apt-ftparchive -q clean apt.conf +#echo "Cleanup apt-ftparchive's database" +#apt-ftparchive -q clean apt.conf echo "Fixing symlinks in $ftpdir" symlinks -d -r $ftpdir