X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=3a45b45649469ce5bd1f73d42a856dca71e40bb0;hb=dd80b169287a128cd9e3b833852fbf68106385b5;hp=84640e2a6e7eddac3d33e825f40939e9f3bb04a0;hpb=2c070e8e93167b48816a0af8e59e79f82cf293cd;p=dak.git diff --git a/config/debian/common b/config/debian/common index 84640e2a..3a45b456 100644 --- a/config/debian/common +++ b/config/debian/common @@ -50,19 +50,23 @@ function make_buildd_dir () { # Process (oldstable)-proposed-updates "NEW" queue function punew_do() { date -u -R >> REPORT - dak process-policy $1 | tee -a REPORT | mail -a "X-Debian: DAK" -e -s "NEW changes in $1" debian-release@lists.debian.org -- -F "Debian FTP Masters" -f + dak process-policy $1 | tee -a REPORT | mail -a "X-Debian: DAK" -e -s "NEW changes in $1" debian-release@lists.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.debian.org echo >> REPORT } # These versions used in dinstall function punew() { - log "Doing automated p-u-new processing" + if [ "${PROGRAM}" = "dinstall" ]; then + log "Doing automated p-u-new processing" + fi cd "${queuedir}/p-u-new" punew_do "$1" } function opunew() { - log "Doing automated o-p-u-new processing" + if [ "${PROGRAM}" = "dinstall" ]; then + log "Doing automated o-p-u-new processing" + fi cd "${queuedir}/o-p-u-new" punew_do "$1" }