]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian-security/cron.unchecked
minimal change to correctly publish auto-accepted security stuff even without an...
[dak.git] / 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