]> git.decadent.org.uk Git - dak.git/blobdiff - config/backports/cron.weekly
Eliminate all references to apt.conf
[dak.git] / config / backports / cron.weekly
index c4a3a4b3e0f0f08be9b54533a241f2481a492a95..ee57d39ffc762c5acae1c8bedc5edc5bc028b770 100755 (executable)
@@ -2,12 +2,13 @@
 #
 
 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
 # the important part here)
 set -E
-export SCRIPTVARS=/srv/backports-master.debian.org/config/backports/vars
+export SCRIPTVARS=/srv/backports-master.debian.org/dak/config/backports/vars
 . $SCRIPTVARS
 
 # Start logging
@@ -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