]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/common
Configure new DM implementation for Debian.
[dak.git] / config / debian / common
index f3cdaaa35d517648dbb8a683be5504a31bed2b4d..9accda153f2b15ba7a35ebf311dae2d82bf67eb6 100644 (file)
@@ -96,7 +96,7 @@ function punew_do() {
     local exportdir="${queuedir}${qdir}/tree/${STAMP}"
     local targetdir="${queuedir}${qdir}/export"
     dak export -q "${queue}" -d "${exportdir}" --all
-    ln -sfT ${targetdir} ${exportdir}
+    ln -sfT ${exportdir} ${targetdir}
     find ${queuedir}${qdir}/tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf
 }
 
@@ -128,6 +128,7 @@ function do_unchecked () {
 
     echo "$timestamp": ${changes:-"Nothing to do"}  >> $report
     dak process-upload -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report
+    dak process-commands -d "$unchecked" >> $report
 }
 
 # process NEW policy queue