# Process the accepted queue
function accepted() {
log "Processing queue/accepted"
- cd "$accepted"
- rm -f REPORT
- dak process-accepted -pa *.changes > REPORT
+ rm -f "$accepted/REPORT"
+ dak process-accepted -pa -d "$accepted" > "$accepted/REPORT"
cat REPORT | mail -s "Install for $(date +"%D - %R")" ftpmaster@ftp-master.debian.org
chgrp debadmin REPORT
chmod 664 REPORT
ln -sfT ${scriptdir}/i18n/${STAMP} i18n
cd ${scriptdir}
- find ./i18n -mtime +2 -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf
+ find ./i18n -mindepth 1 -maxdepth 1 -mtime +2 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf
}
function stats() {
)
stage $GO
-rm -f ${BRITNEYLOCK}
+rm -f ${LOCK_BRITNEY}
GO=(
FUNC="aptftpcleanup"