]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.daily
clean the debbugs version track archive
[dak.git] / config / debian / cron.daily
index b8f29278e0cf7c172b480fb52f6d03e4e71da74d..1ededd036545b2e7b7e89bfeb2f93a677976ec06 100755 (executable)
@@ -7,6 +7,9 @@ set -u
 export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
 . $SCRIPTVARS
 
+# common functions are "outsourced"
+. "${configdir}/common"
+
 ################################################################################
 
 TMPFILE=$( mktemp -p ${TMPDIR} )
@@ -20,8 +23,11 @@ trap cleanup SIGHUP SIGINT SIGPIPE SIGTERM EXIT ERR
 
 # get the latest list of wnpp bugs and their source packages
 wget -q -O${TMPFILE} http://qa.debian.org/data/bts/wnpp_rm
+chmod go+r ${TMPFILE}
 mv ${TMPFILE} /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm
-chgrp ftpteam /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm
-chmod g+r /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm
+
+reports
+
+clean_debbugs
 
 ################################################################################