mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
Fix error message (#893)
$ bash <(curl -s -S -L https://git.io/install-gam) ERROR: GAM currently requires MacOS 10.10 or newer. You are running MacOS 13.10. Please upgrade.
This commit is contained in:
@@ -91,7 +91,7 @@ case $gamos in
|
|||||||
[Mm]ac[Oo][sS]|[Dd]arwin)
|
[Mm]ac[Oo][sS]|[Dd]arwin)
|
||||||
osver=$(sw_vers -productVersion | awk -F'.' '{print $2}')
|
osver=$(sw_vers -productVersion | awk -F'.' '{print $2}')
|
||||||
if (( $osver < 13 )); then
|
if (( $osver < 13 )); then
|
||||||
echo_red "ERROR: GAM currently requires MacOS 10.10 or newer. You are running MacOS 13.$osver. Please upgrade."
|
echo_red "ERROR: GAM currently requires MacOS 10.13 or newer. You are running MacOS 10.$osver. Please upgrade."
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
echo_green "Good, you're running MacOS 10.$osver..."
|
echo_green "Good, you're running MacOS 10.$osver..."
|
||||||
|
|||||||
Reference in New Issue
Block a user