summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
authorSimon Paillard <simon.paillard@resel.enst-bretagne.fr>2010-03-13 16:21:32 +0100
committerSimon Paillard <simon.paillard@resel.enst-bretagne.fr>2010-03-13 16:21:32 +0100
commit85c0d9721c5ef29d90e883cd3f04e2a8f7301bfe (patch)
tree5f3b1799318531228f3a503561df8e8d8a31ead3 /bin/websync
parentccd86cba4b16862aaaa04a5a47d91576dfceb3cd (diff)
Defualt RSYNC_OPTIONS: preserve permissions
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/websync b/bin/websync
index b96ba54..f46e3ec 100755
--- a/bin/websync
+++ b/bin/websync
@@ -154,7 +154,7 @@ RSYNC=${RSYNC:-rsync}
# excluded files
RSYNC_FILTER=${RSYNC_FILTER:-"--filter=protect_Website-Update-in-Progress-${MIRRORNAME} --filter=protect_${TRACE} --filter=protect_Website-Update-Required-${MIRRORNAME}"}
# Default rsync options for *every* rsync call
-RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-rltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"}
+RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-prltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"}
RSYNC_OPTIONS2=${RSYNC_OPTIONS2:-"--max-delete=40000 --delay-updates --delete --delete-after --delete-excluded"}
# Which rsync share to use on our upstream mirror?
RSYNC_PATH=${RSYNC_PATH:-"web.debian.org"}