update-proxy: use curl instead of wget in archlinux in order to limit additional dependencies
This commit is contained in:
parent
eb105540c5
commit
57e5026963
@ -120,5 +120,5 @@ fi
|
|||||||
|
|
||||||
# Pacman (archlinux) also
|
# Pacman (archlinux) also
|
||||||
if [ -e /etc/pacman.conf ]; then
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user