commitpkg: add '-y' to rsyncopts

This allows uploads to possibly be smaller if a similar file exists
nearby without the same name. Unlikely in most cases, but we might as
well take advantage if they do exist:

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Dan McGee 2011-04-01 16:35:33 -05:00 committed by Pierre Schmitz
parent 69f9e64aa3
commit 160e936bba
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ for i in 'changelog' 'install'; do
done
# see if any limit options were passed, we'll send them to rsync
rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial"
rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial -y"
if [ "$1" = '-l' ]; then
rsyncopts="$rsyncopts --bwlimit=$2"
shift 2