|
@@ -77,7 +77,8 @@ EOF
|
|
|
|
|
|
# Determine whether the proxy should be used
|
|
|
if qsvc yum-proxy-setup || qsvc updates-proxy-setup ; then
|
|
|
- PROXY_ADDR="http://127.0.0.1:8082/"
|
|
|
+ PROXY_ADDR_BASE="127.0.0.1:8082"
|
|
|
+ PROXY_ADDR="http://${PROXY_ADDR_BASE}/"
|
|
|
PROXY_CONF_ENTRY="proxy=$PROXY_ADDR"
|
|
|
else
|
|
|
PROXY_ADDR=""
|
|
@@ -148,5 +149,6 @@ fi
|
|
|
# Portage (Gentoo)
|
|
|
if [ -e /etc/portage/make.conf ]; then
|
|
|
update_conf /etc/portage/make.conf "http_proxy=\"$PROXY_ADDR\"
|
|
|
-https_proxy=\"$PROXY_ADDR\""
|
|
|
+https_proxy=\"$PROXY_ADDR\"
|
|
|
+RSYNC_PROXY=\"${PROXY_ADDR_BASE}\""
|
|
|
fi
|