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:
parent
36dded3c04
commit
101ff729f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue