]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.unchecked
Merge remote branch 'mhy/master' into merge
[dak.git] / config / debian / cron.unchecked
index e1d40a7f7241232309a764a082406ced2d551764..10bd930c81add3e7aab0ea43f0b8db3467398cdc 100755 (executable)
@@ -88,10 +88,6 @@ function do_dists () {
 export LANG=C
 export LC_ALL=C
 
-#lockfile -r3 "$LOCK_NEW"
-# acceptnew
-#rm -f "$LOCK_NEW"
-
 # only run one cron.unchecked
 if ! lockfile -r8 $LOCKFILE; then
     echo "aborting cron.unchecked because $LOCKFILE has already been locked"
@@ -99,6 +95,8 @@ if ! lockfile -r8 $LOCKFILE; then
 fi
 trap cleanup 0
 
+
+pg_timestamp preunchecked
 do_newstage
 do_unchecked
 
@@ -108,4 +106,5 @@ if [ ! -z "$changes" ]; then
     do_dists
 fi
 
-dak contents -l 10000 scan
+dak contents -l 10000 binary-scan
+pg_timestamp postunchecked