From: Joerg Jaspert Date: Sat, 5 Feb 2011 16:16:09 +0000 (+0100) Subject: send codenames X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=871809eb7fa71b1f65b8563de5ac1def2a5078db;p=dak.git send codenames Signed-off-by: Joerg Jaspert --- diff --git a/config/debian-security/cron.buildd b/config/debian-security/cron.buildd index 0ea2b4fe..043d5481 100755 --- a/config/debian-security/cron.buildd +++ b/config/debian-security/cron.buildd @@ -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