]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian-security/cron.buildd
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
[dak.git] / 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