From 990dfd9e13800dadeeaa48c7f8e90082e740abe8 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 4 Nov 2012 19:38:00 +0100 Subject: [PATCH] Always regenerate policy queue exports. Otherwise outdated symlinks will be kept around for a while after dak new-security-install was run until cron.unchecked does some real work again. --- config/debian-security/cron.unchecked | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked index 8685f34d..bbb9bdf7 100755 --- a/config/debian-security/cron.unchecked +++ b/config/debian-security/cron.unchecked @@ -66,11 +66,6 @@ fi cd ${base} find ${queuedir}/accepted -type f -exec mv -t /srv/queued/ftpmaster '{}' + -if [ "${doanything}" = "false" ] && [ "${dopolicy}" = "false" ]; then - echo "$timestamp": Nothing to do >> $report - exit 0 -fi - # export policy queues for queue in embargoed; do pushd ${queuedir}/${queue} @@ -81,6 +76,11 @@ for queue in embargoed; do popd done +if [ "${doanything}" = "false" ] && [ "${dopolicy}" = "false" ]; then + echo "$timestamp": Nothing to do >> $report + exit 0 +fi + # manage build queues dak manage-build-queues -a dak generate-packages-sources2 -a build-queues -- 2.39.2