##// END OF EJS Templates
better apt-chacher-ng detection and correction apt_proxy
Unknown -
r433:03c791dae5ae
parent child
Show More
@@ -209,9 +209,10 MISSING_PACKAGES=""
209 209 # Packages installed for c/c++ build environment in chroot (keep empty)
210 210 COMPILER_PACKAGES=""
211 211
212 #Check if apt-cacher-ng has its default port open on and set APT_PROXY
213 if [ -n "$(lsof -i :3142)" ] ; then
214 HTTP_PROXY=http://127.0.0.1:3142/
212 #Check if apt-cacher-ng has port 3142 open and set APT_PROXY
213 APT_CACHER_RUNNING=$(lsof -i :3142 | grep apt-cacher-ng | cut -d ' ' -f3 | uniq)
214 if [ -n ${APT_CACHER_RUNNING} ] ; then
215 APT_PROXY=http://127.0.0.1:3142/
215 216 fi
216 217
217 218 #netselect-apt does not know buster yet
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant