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:
parent
69f9e64aa3
commit
160e936bba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue