update-proxy-configs: handle Portage(Gentoo)
This commit is contained in:
parent
940b0f3646
commit
a6c5e6094c
@ -144,3 +144,9 @@ fi
|
|||||||
if [ -e /etc/PackageKit/PackageKit.conf ]; then
|
if [ -e /etc/PackageKit/PackageKit.conf ]; then
|
||||||
update_conf /etc/PackageKit/PackageKit.conf "ProxyHTTP=$PROXY_ADDR"
|
update_conf /etc/PackageKit/PackageKit.conf "ProxyHTTP=$PROXY_ADDR"
|
||||||
fi
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user