X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fmonthly.functions;h=c930f62a5810c2bc7ba1ad8ffdf78d52f421fee7;hb=1271e98ab531ba104007fb8b96931d95d61061ab;hp=738a3c8f857ad4d2bdf8459936271cf3ce29033a;hpb=58960572ca88248c4195e10b1cc8f9ea26565f4c;p=dak.git diff --git a/config/debian/monthly.functions b/config/debian/monthly.functions index 738a3c8f..c930f62a 100644 --- a/config/debian/monthly.functions +++ b/config/debian/monthly.functions @@ -27,6 +27,7 @@ function archivequeuedone() { function rotatereports() { # Do not rotate while it might receive data if lockfile -r -1 ${LOCK_UNCHECKED} 2> /dev/null; then + TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}" for dir in ${queuedir}/{.,p-u-new,o-p-u-new} /srv/backports-master.debian.org/queue/policy; do cd ${dir} mv REPORT REPORT.${OLDDATE} @@ -34,4 +35,5 @@ function rotatereports() { touch REPORT done fi + rm ${LOCK_UNCHECKED} }