From: Joerg Jaspert Date: Sun, 23 Nov 2008 22:46:27 +0000 (+0100) Subject: suite overrides X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=cc0bab2747a047292dc2f8c69c124712e11651ba;p=dak.git suite overrides remove the case - we already checked if we know the suite we work on. We also have the exact same command for all 3 suites, so why case anyway? Signed-off-by: Joerg Jaspert --- diff --git a/config/debian-security/cron.daily b/config/debian-security/cron.daily index f99c0149..d3bf155e 100755 --- a/config/debian-security/cron.daily +++ b/config/debian-security/cron.daily @@ -37,18 +37,7 @@ for suite in $suites; do continue fi fi - case $suite in - oldstable) - dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type - ;; - stable) - dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type - ;; - testing) - dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type - ;; - *) echo "Unknown suite type ($suite)"; exit 1;; - esac + dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type done done done