]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian-security/cron.daily
make-changelog: add archive option
[dak.git] / config / debian-security / cron.daily
index ba1d11ee8aced36ac17ab4a5b71e6b8953a015d8..e0b846632796c05053c3a13bf1ab210b8f579373 100755 (executable)
@@ -3,6 +3,7 @@
 # Executed daily via cron, out of dak's crontab.
 
 set -e
+set -o pipefail
 export SCRIPTVARS=/srv/security-master.debian.org/dak/config/debian-security/vars
 . $SCRIPTVARS
 
@@ -22,7 +23,6 @@ find . -maxdepth 1 -mindepth 1 -type l | xargs --no-run-if-empty rm
 
 for suite in $suites; do
     case $suite in
-        oldstable) override_suite=lenny;;
         stable) override_suite=squeeze;;
         testing) override_suite=wheezy;;
         *) echo "Unknown suite type ($suite)"; exit 1;;
@@ -50,7 +50,7 @@ for suite in $suites; do
 done
 
 # Generate .all3 overides for the buildd support
-for dist in lenny squeeze wheezy; do
+for dist in squeeze wheezy; do
     rm -f override.$dist.all3
     components="main contrib non-free";
     if [ -f override.$dist.main.debian-installer.gz ]; then
@@ -79,7 +79,7 @@ if ! lockfile -r100 "$LOCKFILE"; then
 fi
 trap cleanup EXIT
 
-dak clean-queues
+dak clean-queues -i ${unchecked}
 dak clean-queues -i $disembargo
 dak clean-suites