]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.functions
Let auto-decruft (hopefully not) destroy the archive
[dak.git] / config / debian / dinstall.functions
index 2cf6e120e8e549f852a8e862bf13bf8b7f59022b..e50a64c85d983fe3f930d561738689e40973b4ae 100644 (file)
@@ -107,9 +107,10 @@ function dominate() {
     dak dominate
 }
 
-function filelist() {
-    log "Generating file lists for apt-ftparchive"
-    dak generate-filelist
+function autocruft() {
+    log "Check for obsolete binary packages"
+    dak auto-decruft -s unstable
+    dak auto-decruft -s experimental --if-newer-version-in unstable --if-newer-version-in-rm-msg "NVIU"
 }
 
 function fingerprints() {
@@ -389,7 +390,7 @@ function mkchecksums() {
 }
 
 function mirror() {
-    local archiveroot
+    local archiveroot mirrordir
 
     log "Regenerating \"public\" mirror/ hardlink fun"
     DATE_SERIAL=$(date +"%Y%m%d01")