diff options
author | Joerg Jaspert <joerg@debian.org> | 2012-04-30 23:38:36 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2012-04-30 23:38:36 +0200 |
commit | f3736a748da5af9780de3939a7b4500b38c40ef5 (patch) | |
tree | a45ffa0576d485b7f6b8d347de44749d267d777d /bin/ftpsync | |
parent | ab952faad4e228b4098b973cba8b82c07f5d9b5c (diff) | |
parent | 2cb884ddc8eec3b620fd369c250958273feb0e01 (diff) |
Merge remote-tracking branch 'raphael/exclude-dist' into merge
* raphael/exclude-dist:
Exclude all of dist/ from the first stage
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-x | bin/ftpsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 1ae7b81..7fdd9b3 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -283,7 +283,7 @@ RSYNC_BW=${RSYNC_BW:-0} # Default rsync options for *every* rsync call RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-prltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"} # Options we only use in the first pass, where we do not want packages/sources to fly in yet and don't want to delete files -RSYNC_OPTIONS1=${RSYNC_OPTIONS1:-"--exclude Packages* --exclude Sources* --exclude Release* --exclude InRelease --exclude ls-lR*"} +RSYNC_OPTIONS1=${RSYNC_OPTIONS1:-"--include 'installer-*/**/*' --include '*/' --exclude 'dists/**/*' --exclude ls-lR*"} # Options for the second pass, where we do want everything, including deletion of old and now unused files RSYNC_OPTIONS2=${RSYNC_OPTIONS2:-"--max-delete=40000 --delay-updates --delete --delete-after --delete-excluded"} # Which rsync share to use on our upstream mirror? |