diff --git a/openshift-install-powervs b/openshift-install-powervs index 23b0474..5dd8622 100755 --- a/openshift-install-powervs +++ b/openshift-install-powervs @@ -1556,7 +1556,7 @@ function platform_checks { case "$PLATFORM" in "Darwin") OS_VERSION=$(sw_vers -productVersion 2>/dev/null || echo "") - if [[ $IGNORE_OS -eq 0 ]] && [[ $OS_VERSION != "10.15"* && $OS_VERSION != "11."* && $OS_VERSION != "12."* && $OS_VERSION != "13."* ]]; then + if [[ $IGNORE_OS -eq 0 ]] && [[ $(echo "$OS_VERSION" | cut -d'.' -f1) -lt 10 ]]; then error "Unsupported OS version ($OS_VERSION) for Mac" fi PACKAGE_MANAGER="brew"