]> err.no Git - dak/commitdiff
hello mhy
authorJoerg Jaspert <joerg@debian.org>
Mon, 31 Aug 2009 18:37:36 +0000 (20:37 +0200)
committerJoerg Jaspert <joerg@debian.org>
Mon, 31 Aug 2009 18:37:36 +0000 (20:37 +0200)
turn off sending the mail log when we successfully end.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall

index 48bde0b9d69655da2e454efea67e01d873f9fd34..5a8f107369033db0d660daecbd412a65daddd082 100755 (executable)
@@ -429,14 +429,14 @@ function maillogfile() {
 function renamelogfile() {
     if [ -f "${dbdir}/dinstallstart" ]; then
         NOW=$(cat "${dbdir}/dinstallstart")
-        maillogfile
+#        maillogfile
         mv "$LOGFILE" "$logdir/dinstall_${NOW}.log"
         logstats "$logdir/dinstall_${NOW}.log"
         bzip2 -9 "$logdir/dinstall_${NOW}.log"
     else
         error "Problem, I don't know when dinstall started, unable to do log statistics."
         NOW=`date "+%Y.%m.%d-%H:%M:%S"`
-        maillogfile
+#        maillogfile
         mv "$LOGFILE" "$logdir/dinstall_${NOW}.log"
         bzip2 -9 "$logdir/dinstall_${NOW}.log"
     fi