Update install.sh

This commit is contained in:
Kroese 2024-01-24 02:01:24 +01:00 committed by GitHub
parent c6ce39f008
commit abd6c9056a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,7 +128,7 @@ else
BASE="$VERSION.iso" BASE="$VERSION.iso"
if !skipInstall && [ ! -f "$STORAGE/$BASE" ]; then if ! skipInstall && [ ! -f "$STORAGE/$BASE" ]; then
MSG="Windows is being downloaded, please wait..." MSG="Windows is being downloaded, please wait..."
fi fi
@ -138,7 +138,7 @@ else
: "${BASE//+/ }"; printf -v BASE '%b' "${_//%/\\x}" : "${BASE//+/ }"; printf -v BASE '%b' "${_//%/\\x}"
BASE=$(echo "$BASE" | sed -e 's/[^A-Za-z0-9._-]/_/g') BASE=$(echo "$BASE" | sed -e 's/[^A-Za-z0-9._-]/_/g')
if !skipInstall && [ ! -f "$STORAGE/$BASE" ]; then if ! skipInstall && [ ! -f "$STORAGE/$BASE" ]; then
MSG="Image '$BASE' is being downloaded, please wait..." MSG="Image '$BASE' is being downloaded, please wait..."
fi fi