]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.functions
meh
[dak.git] / config / debian / dinstall.functions
index 91825e7deaefdfb83a97bee36a64dffaa734911b..751f3178362fca9f671bff848a0327a603981c69 100644 (file)
@@ -72,7 +72,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() {
@@ -542,6 +542,13 @@ function process_unchecked() {
     sync_debbugs
 }
 
+# do a run of newstage only before dinstall is on.
+function newstage() {
+    log "Processing the newstage queue"
+    UNCHECKED_WITHOUT_LOCK="-p"
+    do_newstage
+}
+
 # Function to update a "statefile" telling people what we are doing
 # (more or less).
 #