@@ -250,8 +250,8 else | |||||
250 | fi |
|
250 | fi | |
251 |
|
251 | |||
252 | #sed and cut the result string so we can use it as APT_SERVER |
|
252 | #sed and cut the result string so we can use it as APT_SERVER | |
253 |
|
|
253 | tmp=$(grep -m 1 http files/apt/sources.list | sed "s|http://| |g" | cut -d ' ' -f 3) | |
254 |
APT_SERVER=${ |
|
254 | APT_SERVER=${tmp:0:-1} | |
255 |
|
255 | |||
256 | #make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go! |
|
256 | #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 | if [ -n "$SET_ARCH" ] ; then |
|
257 | if [ -n "$SET_ARCH" ] ; then | |
@@ -426,7 +426,7 fi | |||||
426 |
|
426 | |||
427 | # Check if all required packages are installed on the build system |
|
427 | # Check if all required packages are installed on the build system | |
428 | for package in $REQUIRED_PACKAGES ; do |
|
428 | for package in $REQUIRED_PACKAGES ; do | |
429 | if [ "$(dpkg-query -W -f='${Status}' $package)" != "install ok installed" ] ; then |
|
429 | if [ "$(dpkg-query -W -f='${Status}' "$package")" != "install ok installed" ] ; then | |
430 | MISSING_PACKAGES="${MISSING_PACKAGES} $package" |
|
430 | MISSING_PACKAGES="${MISSING_PACKAGES} $package" | |
431 | fi |
|
431 | fi | |
432 | done |
|
432 | done |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant