update-proxy: use curl instead of wget in archlinux in order to limit additional dependencies

This commit is contained in:
Olivier MEDOC 2016-01-21 18:23:48 +01:00
parent eb105540c5
commit 57e5026963

View File

@ -120,5 +120,5 @@ fi
# Pacman (archlinux) also
if [ -e /etc/pacman.conf ]; then
update_conf /etc/pacman.conf "XferCommand = http_proxy=$PROXY_ADDR /usr/bin/wget --passive-ftp -c -O %o %u"
update_conf /etc/pacman.conf "XferCommand = http_proxy=$PROXY_ADDR /usr/bin/curl -C - -f %u > %o"
fi