X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=463dec3799a5d227692d43bf3ee9c3f8622d4137;hb=4fbe76ca4e30a4515d2111a27d3067259f890355;hp=8f2dd81d0d783ef4aecb3517327dd103b16dd65e;hpb=19af3d03e23510cc9fbfa376cb79082744c0a687;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 8f2dd81d..463dec37 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -1,3 +1,4 @@ +# -*- mode:sh -*- # Timestamp. Used for dinstall stat graphs function ts() { echo "Archive maintenance timestamp ($1): $(date +%H:%M:%S)" @@ -72,7 +73,7 @@ function updates() { # Process (oldstable)-proposed-updates "NEW" queue function punew_do() { date -u -R >> REPORT - dak process-policy $1 | tee >> REPORT | mail -e -s "NEW changes in $1" debian-release@lists.debian.org + dak process-policy $1 | tee -a REPORT | mail -e -s "NEW changes in $1" debian-release@lists.debian.org echo >> REPORT } function punew() { @@ -389,6 +390,9 @@ function mkchecksums() { function mirror() { log "Regenerating \"public\" mirror/ hardlink fun" + date -u > ${ftpdir}/project/trace/ftp-master.debian.org + echo "Using dak v1" >> ${ftpdir}/project/trace/ftp-master.debian.org + echo "Running on host: $(hostname -f)" >> ${ftpdir}/project/trace/ftp-master.debian.org cd ${mirrordir} rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. . }