diff --git a/src/define.sh b/src/define.sh index 4f1cedc..cc86895 100644 --- a/src/define.sh +++ b/src/define.sh @@ -293,7 +293,7 @@ getVersion() { [[ "${name,,}" == *"enterprise"* ]] && detected="win7${PLATFORM,,}-enterprise" fi - [[ "${name,,}" == *"windows vista"* ]]; then + if [[ "${name,,}" == *"windows vista"* ]]; then detected="winvista${PLATFORM,,}" [[ "${name,,}" == *"ultimate"* ]] && detected="winvista${PLATFORM,,}-ultimate" fi