]> git.decadent.org.uk Git - dak.git/commitdiff
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
authorJoerg Jaspert <joerg@debian.org>
Tue, 8 Mar 2011 21:35:50 +0000 (22:35 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 8 Mar 2011 21:35:50 +0000 (22:35 +0100)
* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
  Use 'dak contents generate_helper'.
  bugfixes
  Add a new subcommand 'generate_helper' to 'dak contents'.
  Switch to multiprocessing module and reap child gzips.

config/debian/dinstall.functions

index be4ed572dd687f3a53bf48289f41cd8ec95dff2f..a4190637e6be54b929ee6e5f90009933f7785654 100644 (file)
@@ -525,12 +525,12 @@ function compress() {
     cd $base/backup/
     find -maxdepth 1 -mindepth 1 -type f -name 'dump_pre_*' -mtime +2 -print0 | xargs -0 --no-run-if-empty rm
 
-    find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mmin +720 |
+    find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' \! -name '*.xz' -mmin +720 |
     while read dumpname; do
         echo "Compressing $dumpname"
         bzip2 -9fv "$dumpname"
     done
-    find -maxdepth 1 -mindepth 1 -type f -name "dumpall_*" \! -name '*.bz2' \! -name '*.gz' -mmin +720 |
+    find -maxdepth 1 -mindepth 1 -type f -name "dumpall_*" \! -name '*.bz2' \! -name '*.gz' \! -name '*.xz' -mmin +720 |
     while read dumpname; do
         echo "Compressing $dumpname"
         bzip2 -9fv "$dumpname"