From 101ff729f850bf696aa48cc8625d357ed703855c Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Tue, 26 Oct 2021 09:25:40 -0700 Subject: [PATCH] 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. --- recipes/mac-setup/macports | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/recipes/mac-setup/macports b/recipes/mac-setup/macports index a9714bf..0bb0527 100755 --- a/recipes/mac-setup/macports +++ b/recipes/mac-setup/macports @@ -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