exit 0
fi
+# export policy queues
+for queue in embargoed; do
+ pushd ${queuedir}/${queue}
+ rm -rf export.new
+ dak export -q ${queue} -d export.new --all
+ rsync -a --delete export.new/. export/.
+ rm -rf export.new
+ popd
+done
+
# manage build queues
dak manage-build-queues -a
dak generate-packages-sources2 -a build-queues
mv ${suite}.Release ${suite}.new/Release
mv ${suite}.Release.gpg ${suite}.new/Release.gpg
- mv ${suite} ${suite}.old
+ if [ -d ${suite} ]; then
+ mv ${suite} ${suite}.old
+ fi
mv ${suite}.new ${suite}
rm -rf ${suite}.old
done