From 095e977ea5796e4eb1e5e9b9d7d002d3e0bcc5ac Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 10 Mar 2009 22:29:45 +0100 Subject: [PATCH] dinstall new function maillogfile Signed-off-by: Joerg Jaspert --- config/debian/cron.dinstall | 4 ++++ 1 file changed, 4 insertions(+) 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") -- 2.39.5