@@ -250,8 +250,11 else | |||
|
250 | 250 | fi |
|
251 | 251 | |
|
252 | 252 | #sed and cut the result string so we can use it as APT_SERVER |
|
253 |
|
|
|
254 | APT_SERVER=${tmp:0:-1} | |
|
253 | APT_SERVER=$(grep -m 1 http files/apt/sources.list | sed "s|http://| |g" | cut -d ' ' -f 3) | |
|
254 | #non sh compatible | |
|
255 | #APT_SERVER=${tmp:0:-1} | |
|
256 | #sh compatible | |
|
257 | APT_SERVER=echo "$APT_SERVER" | sed 's|/$|''|' | |
|
255 | 258 | |
|
256 | 259 | #make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go! |
|
257 | 260 | if [ -n "$SET_ARCH" ] ; then |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant