From ad8367d4ad22c161a57936d4d7e97a47dc2ac224 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 22 Mar 2012 23:05:50 +0100 Subject: [PATCH] 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 --- config/debian-security/cron.unchecked | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2