]> git.decadent.org.uk Git - dak.git/commitdiff
minimal change to correctly publish auto-accepted security stuff even without an...
authorJoerg Jaspert <joerg@debian.org>
Thu, 22 Mar 2012 22:05:50 +0000 (23:05 +0100)
committerJoerg Jaspert <joerg@debian.org>
Thu, 22 Mar 2012 22:05:50 +0000 (23:05 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/cron.unchecked

index eea530b445cb1c36342927bd91bf512eb5c5ff5f..d8ae45342bd82971a3c95d4e0198b3801d06b2a6 100755 (executable)
@@ -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