diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 95236f4..a8e335e 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -474,7 +474,7 @@ if [ -n "$MISSING_PACKAGES" ] ; then # Make sure all missing required packages are installed apt-get update - apt-get -qq -y install "$MISSING_PACKAGES" + apt-get -qq -y install `echo "${MISSING_PACKAGES}" | sed "s/ //"` fi # Check if ./bootstrap.d directory exists