From c10e027383c48f1be6e431de2f316d70c2ca2292 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Fri, 27 May 2016 12:35:20 +0200 Subject: [PATCH] Add a timestamp to the cruft-report Signed-off-by: Emilio Pozuelo Monfort --- config/debian/common | 1 + 1 file changed, 1 insertion(+) diff --git a/config/debian/common b/config/debian/common index a8f56dd0..62ec9a1e 100755 --- a/config/debian/common +++ b/config/debian/common @@ -225,6 +225,7 @@ function reports() { log "Sending information about crufty packages" dak cruft-report -R > $webdir/cruft-report-daily.txt.new dak cruft-report -R -s experimental >> $webdir/cruft-report-daily.txt.new + echo "Page generated on $(date -u)" >> $webdir/cruft-report-daily.txt.new mv $webdir/cruft-report-daily.txt.new $webdir/cruft-report-daily.txt mail -a "X-Debian: DAK" -e -s "Debian archive cruft report for $(date +%D)" -a "From: Debian FTP Masters " ftpmaster@ftp-master.debian.org < $webdir/cruft-report-daily.txt } -- 2.39.5