Add more os versions to macports install

Note: Version 2.7.1 doesn't actually support Monterey, so it will
404. When the new release comes out, I'll bump the version.
This commit is contained in:
ViViDboarder 2021-10-26 09:25:40 -07:00
parent 36dded3c04
commit 101ff729f8

View File

@ -3,9 +3,18 @@
MACPORTS_VERSION=2.7.1
MACOS_VERSION=$(sw_vers -productVersion)
case $MACOS_VERSION in
12.*)
MACOS_NAME=12-Monterey
;;
11.*)
MACOS_NAME=11-BigSur
;;
10.15.*)
MACOS_NAME=10.15-Catalina
;;
10.14.*)
MACOS_NAME=10.14-Mojave
;;
*)
error "Unknown MacOS Version"
esac