Update define.sh

This commit is contained in:
Kroese 2024-05-17 12:12:08 +02:00 committed by GitHub
parent 390263a13d
commit d5b4d6778f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ set -Eeuo pipefail
: "${REMOVE:=""}"
: "${VERSION:=""}"
: "${DETECTED:=""}"
: "${LANGUAGE:=""}"
MIRRORS=5
PLATFORM="x64"
@ -111,6 +112,12 @@ parseVersion() {
return 0
}
parseLanguage() {
[ -z "$LANGUAGE" ] && LANGUAGE="en-US"
}
printVersion() {
local id="$1"