]> git.decadent.org.uk Git - dak.git/commitdiff
Remove mail-archiving code, mail is no longer on ftp-master
authorJoerg Jaspert <joerg@debian.org>
Sun, 6 Jul 2014 10:42:09 +0000 (12:42 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 6 Jul 2014 10:42:09 +0000 (12:42 +0200)
config/debian/cron.monthly

index 95f552c92b4771b00f1e516bd75838366ffd1855..1f92f914605a14530bfe65ad24eb6d9f61a969c0 100755 (executable)
@@ -12,20 +12,6 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
 
 DATE=`date -d yesterday +%y%m`
 
-cd ${base}/mail/archive
-for m in mail bxamail; do
-    if [ -f $m ]; then
-        mv $m ${m}-$DATE
-        touch ${m}
-        chown dak:ftpteam ${m}
-        chmod 660 ${m}
-        sleep 20
-        xz -9 ${m}-$DATE
-        chgrp $ftpgroup ${m}-$DATE.xz
-        chmod 660 ${m}-$DATE.xz
-    fi;
-done
-
 DATE=$(date +%Y-%m)
 OLDDATE=$(date -d yesterday +%Y-%m)
 cd ${base}/log