From dcbea64777779650d853f06bcb0b18d152ed3741 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 2 Apr 2016 13:59:34 +0200 Subject: [PATCH] Remove an old backports-master dir, remove lock unchecked after usage --- config/debian/monthly.functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/debian/monthly.functions b/config/debian/monthly.functions index ae0e46eb..22ba94bf 100644 --- a/config/debian/monthly.functions +++ b/config/debian/monthly.functions @@ -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} } -- 2.39.2