]> git.decadent.org.uk Git - dak.git/commitdiff
use the right rsync options to clean up and stuff.
authorJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 22:54:09 +0000 (23:54 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 22:54:09 +0000 (23:54 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/cron.daily

index d3bf155eb8826159d1521eef7b53c6571fe8e6c7..245e406ebabaeabcbf13f027a94bba6cfbb3954c 100755 (executable)
@@ -10,8 +10,7 @@ export SCRIPTVARS=/org/security.debian.org/dak/config/debian-security/vars
 
 # Fix overrides
 
-# disabled by ajt 2008-01-01: requires auth
-rsync --password-file /srv/non-us.debian.org/s3kr1t/rsync-password -ql security-master@ftp-master::indices/override\* $overridedir
+rsync --delete -r --include=override\* --exclude=\* --password-file /srv/non-us.debian.org/s3kr1t/rsync-password -vl security-master@ftp-master::indices/ $overridedir
 
 cd $overridedir
 find . -name override\*.gz -type f -maxdepth 1 -mindepth 1 | xargs gunzip -f