From: James Troup Date: Sat, 8 Jun 2002 00:16:01 +0000 (+0000) Subject: adapt for suite/component changes; fix typo causing endless .all3 growth X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4327553dae433bd68edb179592c486a25d549653;p=dak.git adapt for suite/component changes; fix typo causing endless .all3 growth --- diff --git a/cron.daily-security b/cron.daily-security index 2aa60903..25bba1da 100644 --- a/cron.daily-security +++ b/cron.daily-security @@ -31,6 +31,11 @@ cd .. rm -fr non-US for suite in $suites; do + case $suite in + stable) override_suite=potato;; + testing) override_suite=woody;; + *) echo "Unknown suite type"; exit 1;; + esac for component in $components; do for override_type in $override_types; do case $override_type in @@ -39,7 +44,7 @@ for suite in $suites; do udeb) type="skip" ;; esac if [ ! "$type" = "skip" ]; then - $masterdir/natalie -q -S -t $override_type -s $suite -c $component < override.$suite.$component$type + $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type fi done done @@ -47,7 +52,7 @@ done # Generate .all3 overides for the buildd support for dist in potato woody; do - rm -f override.sid.all3 + rm -f override.$dist.all3 components="main contrib non-free"; if [ -f override.$dist.main.debian-installer ]; then components="$components main.debian-installer";