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