From: Joerg Jaspert Date: Mon, 24 Nov 2008 13:08:24 +0000 (+0100) Subject: Unzip the files, but keep the originals for rsync to not needlessly retransfer unchan... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e234cc796230b2725385f38c3153d88ca1336c;p=dak Unzip the files, but keep the originals for rsync to not needlessly retransfer unchanged ones Signed-off-by: Joerg Jaspert --- 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