Update install.sh

This commit is contained in:
Kroese 2024-05-03 14:08:26 +02:00 committed by GitHub
parent 9102e41ca9
commit 12a3cb13ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -578,19 +578,19 @@ selectVersion() {
prefer="$id-enterprise"
find=$(printEdition "$prefer" "")
if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}</${TAG,,}>"* ]]; then
if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}</${tag,,}>"* ]]; then
echo "$prefer" && return 0
fi
prefer="$id-ultimate"
find=$(printEdition "$prefer" "")
if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}</${TAG,,}>"* ]]; then
if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}</${tag,,}>"* ]]; then
echo "$prefer" && return 0
fi
prefer="$id"
find=$(printEdition "$prefer" "")
if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}</${TAG,,}>"* ]]; then
if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}</${tag,,}>"* ]]; then
echo "$prefer" && return 0
fi