]> git.decadent.org.uk Git - dak.git/commitdiff
Add a timestamp to the cruft-report
authorEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 27 May 2016 10:35:20 +0000 (12:35 +0200)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 27 May 2016 10:35:20 +0000 (12:35 +0200)
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
config/debian/common

index a8f56dd07e529f66b1071ab9d43737a7a0ef3ccb..62ec9a1ed8f47d08dd3959b9f56a50b0fb482359 100755 (executable)
@@ -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>" ftpmaster@ftp-master.debian.org < $webdir/cruft-report-daily.txt
 }