From 5fc83453089613c4b51ed4d098a4c7861ca9b659 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 15 Jun 2015 22:20:18 +0200 Subject: [PATCH] Let auto-decruft (hopefully not) destroy the archive Signed-off-by: Joerg Jaspert --- config/debian/dinstall.functions | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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() { -- 2.39.2