From cc0bab2747a047292dc2f8c69c124712e11651ba Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 23 Nov 2008 23:46:27 +0100 Subject: [PATCH 1/1] 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 --- config/debian-security/cron.daily | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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 -- 2.39.2