X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=9accda153f2b15ba7a35ebf311dae2d82bf67eb6;hb=4ae386b8b703b47c64313eff8ea8ff6c2646937a;hp=f3cdaaa35d517648dbb8a683be5504a31bed2b4d;hpb=20b783194b6b872d47717f4a9dd66b6bef7703c0;p=dak.git diff --git a/config/debian/common b/config/debian/common index f3cdaaa3..9accda15 100644 --- a/config/debian/common +++ b/config/debian/common @@ -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