]> git.decadent.org.uk Git - dak.git/commitdiff
suite overrides
authorJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 22:46:27 +0000 (23:46 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 22:46:27 +0000 (23:46 +0100)
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

index f99c014939eeab00dd354db900e7ea6489666493..d3bf155eb8826159d1521eef7b53c6571fe8e6c7 100755 (executable)
@@ -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