mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
MacOS >= 10.10 please
This commit is contained in:
@@ -68,6 +68,13 @@ case $gamos in
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
[Mm]ac[Oo][sS]|[Dd]arwin)
|
[Mm]ac[Oo][sS]|[Dd]arwin)
|
||||||
|
osver=$(sw_vers -productVersion | awk -F'.' '{print $2}')
|
||||||
|
if (( $osver < 10 )); then
|
||||||
|
echo "Sorry, GAM currently requires MacOS 10.10 or newer. You are running MacOS 10.$osver. Please upgrade."
|
||||||
|
exit
|
||||||
|
else
|
||||||
|
echo "Good, you're running MacOS 10.$osver..."
|
||||||
|
fi
|
||||||
gamos="macos"
|
gamos="macos"
|
||||||
gamfile="macos.tar.xz"
|
gamfile="macos.tar.xz"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user