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