From 12a3cb13ec616bee06d635e8d2be490006feb9bf Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 3 May 2024 14:08:26 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index f33ea38..ac9a77f 100644 --- a/src/install.sh +++ b/src/install.sh @@ -578,19 +578,19 @@ selectVersion() { prefer="$id-enterprise" find=$(printEdition "$prefer" "") - if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}"* ]]; then + if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}"* ]]; then echo "$prefer" && return 0 fi prefer="$id-ultimate" find=$(printEdition "$prefer" "") - if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}"* ]]; then + if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}"* ]]; then echo "$prefer" && return 0 fi prefer="$id" find=$(printEdition "$prefer" "") - if [ -n "$find" ] && [[ "${xml,,}" == *"<${TAG,,}>${find,,}"* ]]; then + if [ -n "$find" ] && [[ "${xml,,}" == *"<${tag,,}>${find,,}"* ]]; then echo "$prefer" && return 0 fi