##// END OF EJS Templates
better apt-chacher-ng detection and correction apt_proxy
Unknown -
r434:bfa952727903
parent child
Show More
@@ -200,10 +200,10 MISSING_PACKAGES=""
200 200 COMPILER_PACKAGES=""
201 201
202 202 set +x
203
204 #Check if apt-cacher-ng has its default port open on and set APT_PROXY
205 if [ -n "$(lsof -i :3142)" ] ; then
206 HTTP_PROXY=http://127.0.0.1:3142/
203 #Check if apt-cacher-ng has port 3142 open and set APT_PROXY
204 APT_CACHER_RUNNING=$(lsof -i :3142 | grep apt-cacher-ng | cut -d ' ' -f3 | uniq)
205 if [ -n ${APT_CACHER_RUNNING} ] ; then
206 APT_PROXY=http://127.0.0.1:3142/
207 207 fi
208 208
209 209 # Setup architecture specific settings
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant