]> git.decadent.org.uk Git - dak.git/blobdiff - config/backports/cron.unchecked
Merge branch 'master' into dbtests
[dak.git] / config / backports / cron.unchecked
index fbda8619c20d5d8ee79a1209e7c316c2669cb30b..46f30e07c8655a758c9db6bb97c5b3ed5ad3d1fb 100755 (executable)
@@ -33,6 +33,8 @@ LOCKFILE="$lockdir/unchecked.lock"
 LOCK_NEW="$lockdir/processnew.lock"
 NOTICE="$lockdir/daily.lock"
 LOCK_BUILDD="$lockdir/buildd.lock"
+# The state file telling us we have something new to do
+DINSTALLPACKAGES="${lockdir}/dinstall.packages"
 
 # our name
 PROGRAM="unchecked"
@@ -76,7 +78,6 @@ function do_buildd () {
 function do_dists () {
     cd $configdir
     dak generate-filelist
-    GZIP='--rsyncable' ; export GZIP
     dak generate-packages-sources
 }
 
@@ -96,8 +97,10 @@ do_newstage
 do_unchecked
 
 if [ ! -z "$changes" ]; then
+    touch ${DINSTALLPACKAGES}
     sync_debbugs
     do_buildd
+
 #    echo "Starting g-p-s: $(date +%H:%M:%S)"
 #    do_dists
 #    echo "Done with g-p-s: $(date +%H:%M:%S)"