From 75273f99660e2830e39fad3e12140b7b4e2b0833 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 8 Mar 2011 22:35:32 +0100 Subject: [PATCH] dinstall - dont recompress .xz files Signed-off-by: Joerg Jaspert --- config/debian/dinstall.functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index be4ed572..a4190637 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -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" -- 2.39.2