]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.dinstall
signed buildd incoming dir
[dak.git] / config / debian / cron.dinstall
index 2e84dae1c8db74f7b50e3d1f2cbf9a84b44488a8..d5776af147aadc9d327d91bfceb613a19bc5fce1 100755 (executable)
@@ -235,6 +235,12 @@ function buildd() {
     apt-ftparchive generate apt.conf.buildd
 }
 
+function buildd_dir() {
+    # Rebuilt the buildd dir to avoid long times of 403
+    log "Regenerating the buildd incoming dir"
+    make_buildd_dir
+}
+
 function scripts() {
     log "Running various scripts from $scriptsdir"
     cd $scriptsdir
@@ -585,6 +591,14 @@ GO=(
 )
 stage $GO
 
+GO=(
+    FUNC="buildd_dir"
+    TIME="buildd_dir"
+    ARGS=""
+    ERR="false"
+)
+stage $GO
+
 GO=(
     FUNC="cruft"
     TIME="cruft"