From: Joerg Jaspert Date: Tue, 10 Mar 2009 21:29:45 +0000 (+0100) Subject: dinstall X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=095e977ea5796e4eb1e5e9b9d7d002d3e0bcc5ac;p=dak dinstall new function maillogfile Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 7b0548f7..3ce42331 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -340,6 +340,10 @@ function savetimestamp() { echo ${NOW} > "${dbdir}/dinstallstart" } +function maillogfile() { + cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org +} + function renamelogfile() { if [ -f "${dbdir}/dinstallstart" ]; then RENAMETO=$(cat "${dbdir}/dinstallstart")