From: Joerg Jaspert Date: Mon, 15 Jun 2015 20:20:18 +0000 (+0200) Subject: Let auto-decruft (hopefully not) destroy the archive X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5fc83453089613c4b51ed4d098a4c7861ca9b659;p=dak.git Let auto-decruft (hopefully not) destroy the archive Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 390c23b7..e50a64c8 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -109,13 +109,8 @@ function dominate() { function autocruft() { log "Check for obsolete binary packages" - # Initially only run with -n and output into a file, to check. - local dstamp=$(date -u +"%Y-%m-%d_%H:%M") - local report=${webdir}/auto-cruft-report_${dstamp}.txt - echo "Report for ${dstamp}" > ${report} - dak auto-decruft -n -s unstable >> ${report} - dak auto-decruft -n -s experimental --if-newer-version-in unstable --if-newer-version-in-rm-msg "NVIU" >> ${report} - cat ${report} | mail -a "X-Debian: DAK" -e -s "Debian archive AUTOMATIC cruft report for ${dstamp}" -a "From: Debian FTP Masters " -c niels@thykier.net ftpmaster@ftp-master.debian.org + dak auto-decruft -s unstable + dak auto-decruft -s experimental --if-newer-version-in unstable --if-newer-version-in-rm-msg "NVIU" } function fingerprints() {