# Process (oldstable)-proposed-updates "NEW" queue
function punew_do() {
local queue="$1"
+ local qdir="$2"
date -u -R >> REPORT
dak process-policy "${queue}" | tee -a REPORT | mail -a "X-Debian: DAK" -e -s "NEW changes in ${queue}" debian-release@lists.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.debian.org
echo >> REPORT
dak generate-packages-sources2 -s "${queue}"
- local exportdir="${queuedir}/${queue}/export"
+ local exportdir="${queuedir}/${qdir}/export"
rm -rf "${exportdir}"
dak export -q "${queue}" -d "${exportdir}" --all
}
log "Doing automated p-u-new processing"
fi
cd "${queuedir}/p-u-new"
- punew_do "$1"
+ punew_do "$1" "p-u-new"
}
function opunew() {
log "Doing automated o-p-u-new processing"
fi
cd "${queuedir}/o-p-u-new"
- punew_do "$1"
+ punew_do "$1" "o-p-u-new"
}
# Do the unchecked processing, in case we have files.