X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcron.weekly;h=ee57d39ffc762c5acae1c8bedc5edc5bc028b770;hb=077bf03c4495465e28388f52e471877b7afa821a;hp=097aa63cf7fcc3672e9efc3091d946857ebb1c5d;hpb=883c05418a2987751597e906ec2c63b1f5425df6;p=dak.git diff --git a/config/backports/cron.weekly b/config/backports/cron.weekly index 097aa63c..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,11 +30,6 @@ 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"