diff --git a/mac-setup.sh b/mac-setup.sh index 993b4cd..7449b86 100755 --- a/mac-setup.sh +++ b/mac-setup.sh @@ -50,11 +50,11 @@ DEVTOOLS_DIR="$REPOS_DIR/devtools" echo echo "Running Khan Installation Script 1.2" -if ! sw_vers -productVersion 2>/dev/null | grep -q '10\.1[12345]\.' ; then - echo "This is tested on macOS 13 (Ventura)." +if ! sw_vers -productVersion 2>/dev/null | grep -q '^1[0-4]\.' ; then + echo "This is tested on macOS 14 (Sonoma)." echo echo "If you find that this works on a newer version of macOS, " - echo "please update this message." + echo "please update this message and the grep of this if statement." echo fi