]> git.decadent.org.uk Git - dak.git/commitdiff
Remove an old backports-master dir, remove lock unchecked after usage
authorJoerg Jaspert <joerg@debian.org>
Sat, 2 Apr 2016 11:59:34 +0000 (13:59 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 2 Apr 2016 11:59:34 +0000 (13:59 +0200)
config/debian/monthly.functions

index ae0e46eb640534f7e62f7b8d9d00f4cbe6beb02c..22ba94bf3d8a02e3558628de8c67068228c4b97e 100644 (file)
@@ -28,11 +28,12 @@ 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
+        for dir in ${queuedir}/{.,p-u-new,o-p-u-new}; do
             cd ${dir}
             mv REPORT REPORT.${OLDDATE}
             xz -9 REPORT.${OLDDATE}
             touch REPORT
         done
     fi
+    rm ${LOCK_UNCHECKED}
 }