diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 34e54e4..e201791 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -380,7 +380,7 @@ if [ -n "$MISSING_PACKAGES" ] ; then [ "$confirm" != "y" ] && exit 1 # Make sure all missing required packages are installed - apt-get -qq -y install "${MISSING_PACKAGES}" + apt-get -qq -y install `echo "${MISSING_PACKAGES}" | sed "s/ //"` fi # Check if ./bootstrap.d directory exists