[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 <joerg@debian.org>
---
 config/debian-security/cron.daily |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/config/debian-security/cron.daily b/config/debian-security/cron.daily
index f99c014..d3bf155 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
-- 
1.5.6.5



Reply to: