]> git.decadent.org.uk Git - dak.git/commitdiff
send codenames
authorJoerg Jaspert <joerg@debian.org>
Sat, 5 Feb 2011 16:16:09 +0000 (17:16 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 5 Feb 2011 16:16:09 +0000 (17:16 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/cron.buildd

index 0ea2b4fe836b3dcae0e607353f3911282488a323..043d5481d1155401fa8bb1828cba27ffe8eb2c29 100755 (executable)
@@ -69,6 +69,21 @@ if [ ! -z "$dists" ]; then
     done
     trap 'kill -TERM $SSH_PID' 0
     for d in $dists; do
-        ssh wbadm@buildd -S $SSH_SOCKET trigger.security $d
+        case $d in
+            oldstable)
+                send=lenny
+                ;;
+            stable)
+                send=squeeze
+                ;;
+            testing)
+                send=testing
+                ;;
+            *)
+                send=unknown
+                ;;
+        esac
+
+        ssh wbadm@buildd -S $SSH_SOCKET trigger.security $send
     done
 fi