Explorar o código

update-proxy-configs: handle Portage(Gentoo)

Frédéric Pierret (fepitre) %!s(int64=3) %!d(string=hai) anos
pai
achega
a6c5e6094c
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      network/update-proxy-configs

+ 6 - 0
network/update-proxy-configs

@@ -144,3 +144,9 @@ fi
 if [ -e /etc/PackageKit/PackageKit.conf ]; then
     update_conf /etc/PackageKit/PackageKit.conf "ProxyHTTP=$PROXY_ADDR"
 fi
+
+# Portage (Gentoo)
+if [ -e /etc/portage/make.conf ]; then
+    update_conf /etc/portage/make.conf "http_proxy=\"$PROXY_ADDR\"
+https_proxy=\"$PROXY_ADDR\""
+fi