mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 08:36:33 +00:00
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
|
MACPORTS_VERSION=2.7.1
|
||||||
MACOS_VERSION=$(sw_vers -productVersion)
|
MACOS_VERSION=$(sw_vers -productVersion)
|
||||||
case $MACOS_VERSION in
|
case $MACOS_VERSION in
|
||||||
|
12.*)
|
||||||
|
MACOS_NAME=12-Monterey
|
||||||
|
;;
|
||||||
11.*)
|
11.*)
|
||||||
MACOS_NAME=11-BigSur
|
MACOS_NAME=11-BigSur
|
||||||
;;
|
;;
|
||||||
|
10.15.*)
|
||||||
|
MACOS_NAME=10.15-Catalina
|
||||||
|
;;
|
||||||
|
10.14.*)
|
||||||
|
MACOS_NAME=10.14-Mojave
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
error "Unknown MacOS Version"
|
error "Unknown MacOS Version"
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user