From 90e234cc796230b2725385f38c3153d88ca1336c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 24 Nov 2008 14:08:24 +0100 Subject: [PATCH] Unzip the files, but keep the originals for rsync to not needlessly retransfer unchanged ones Signed-off-by: Joerg Jaspert --- config/debian-security/cron.daily | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/debian-security/cron.daily b/config/debian-security/cron.daily index 02e91795..4e02e57e 100755 --- a/config/debian-security/cron.daily +++ b/config/debian-security/cron.daily @@ -13,6 +13,9 @@ export SCRIPTVARS=/org/security.debian.org/dak/config/debian-security/vars rsync --delete -r --include=override\* --exclude=\* --password-file /srv/non-us.debian.org/s3kr1t/rsync-password -ql security-master@ftp-master::indices/ $overridedir cd $overridedir +for file in override*.gz; do + zcat $file > $(basename $file .gz) +done find . -maxdepth 1 -mindepth 1 -type l | xargs --no-run-if-empty rm for suite in $suites; do -- 2.39.5