X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=config%2Fdebian%2Fmonthly.functions;h=22ba94bf3d8a02e3558628de8c67068228c4b97e;hp=ae0e46eb640534f7e62f7b8d9d00f4cbe6beb02c;hb=dcbea64777779650d853f06bcb0b18d152ed3741;hpb=30782de1cf7c624e8dd6a867c321cd0b8b7ba811 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} }