From 95569318081e75419342d152eeb527f36f8676fd Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Sat, 16 Jan 2016 12:11:06 +0100 Subject: [PATCH] implement update proxy support for archlinux --- network/update-proxy-configs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/network/update-proxy-configs b/network/update-proxy-configs index 6480c58..208363b 100755 --- a/network/update-proxy-configs +++ b/network/update-proxy-configs @@ -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