From c940ab8823ed6f71892a4e067e51061d9a022c4c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 16 Dec 2008 22:38:48 +0100 Subject: [PATCH] dinstall run the logs.py script Signed-off-by: Joerg Jaspert --- ChangeLog | 3 +++ config/debian/cron.dinstall | 2 ++ 2 files changed, 5 insertions(+) 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" -- 2.39.2