From: Joerg Jaspert Date: Tue, 16 Dec 2008 21:38:48 +0000 (+0100) Subject: dinstall X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c940ab8823ed6f71892a4e067e51061d9a022c4c;p=dak.git dinstall run the logs.py script Signed-off-by: Joerg Jaspert --- diff --git a/ChangeLog b/ChangeLog index 1db58f60..f3f16af3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-12-16 Joerg Jaspert + * config/debian/cron.dinstall: Run logs.py as last command before + we mail the log. + * tools/logs.py: Added script from Thomas. Modifications from me: - Use path entries that fit ftpmaster dak user diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index fcbb1491..70001b4d 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -338,6 +338,8 @@ ts "logremove" echo "Finally, all is done, sending mail and compressing logfile" exec > /dev/null 2>&1 +$base/tools/logs.py "$LOGFILE" + cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org bzip2 -9 "$LOGFILE"