Update define.sh

This commit is contained in:
Kroese 2024-05-02 22:54:00 +02:00 committed by GitHub
parent d3baf11dd4
commit fd9a1349b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,7 +145,7 @@ printEdition() {
"win7${PLATFORM,,}-enterprise"* ) "win7${PLATFORM,,}-enterprise"* )
edition="Enterprise" edition="Enterprise"
;; ;;
"win7"* ) "win7"* )
edition="Professional" edition="Professional"
;; ;;
"win8${PLATFORM,,}-enterprise"* ) "win8${PLATFORM,,}-enterprise"* )
@ -182,7 +182,7 @@ printEdition() {
edition="Enterprise" edition="Enterprise"
;; ;;
"win11"* ) "win11"* )
edition="Pro" edition="Pro"
;; ;;
"winxp"* ) "winxp"* )
edition="Professional" edition="Professional"
@ -209,7 +209,7 @@ printEdition() {
[[ "${id,,}" == *"-eval" ]] && edition="$edition (Evaluation)" [[ "${id,,}" == *"-eval" ]] && edition="$edition (Evaluation)"
[ -n "$edition" ] && result="$result $edition" [ -n "$edition" ] && result="$result $edition"
echo "$result" echo "$result"
return 0 return 0
} }