implement update proxy support for archlinux

This commit is contained in:
Olivier MEDOC 2016-01-16 12:11:06 +01:00
parent 857598cbfc
commit 9556931808

View File

@ -117,3 +117,8 @@ fi
if [ -e /etc/PackageKit/PackageKit.conf ]; then
update_conf /etc/PackageKit/PackageKit.conf "ProxyHTTP=$PROXY_ADDR"
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"
fi