From: Joerg Jaspert Date: Thu, 22 Mar 2012 22:05:50 +0000 (+0100) Subject: minimal change to correctly publish auto-accepted security stuff even without an... X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ad8367d4ad22c161a57936d4d7e97a47dc2ac224;p=dak.git minimal change to correctly publish auto-accepted security stuff even without an extra dsa OR a simultaneous event in the unchecked queue Signed-off-by: Joerg Jaspert --- diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked index eea530b4..d8ae4534 100755 --- a/config/debian-security/cron.unchecked +++ b/config/debian-security/cron.unchecked @@ -61,9 +61,9 @@ if [ -n "$changes" ]; then dak process-upload -a -d "$disembargo" >> $reportdis fi -if ! $doanything; then - echo "$timestamp": Nothing to do >> $report - exit 0 +if [ "${doanything}" = "false" ] && [ "${dopolicy}" = "false" ]; then + echo "$timestamp": Nothing to do >> $report + exit 0 fi dak manage-build-queues -a