Update install.sh

This commit is contained in:
Kroese 2024-05-05 20:19:57 +02:00 committed by GitHub
parent ec912ace68
commit b9f003a873
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -535,11 +535,9 @@ extractESD() {
info "$msg" && html "$msg" info "$msg" && html "$msg"
local edition imageIndex imageEdition local edition imageIndex imageEdition
edition=$(getCatalog "$version" "name")
edition=$(printVersion "$version" "") if [ -z "$edition" ]; then
edition="${edition/ (Evaluation)/}"
if [ -z "$edition" ] || ! isESD "${version,,}"; then
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1 error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
fi fi