Add Sonoma to macports install

This commit is contained in:
ViViDboarder 2023-12-06 10:43:55 -08:00
parent 8c930355bd
commit 28e1307978

View File

@ -3,6 +3,9 @@ set -e
MACPORTS_VERSION=2.8.1
MACOS_VERSION=$(sw_vers -productVersion)
case $MACOS_VERSION in
14.*)
MACOS_NAME=14-Sonoma
;;
13.*)
MACOS_NAME=13-Ventura
;;
@ -31,4 +34,4 @@ log "Install xcode tools"
xcode-select --install || true
log "Run macports installer"
sudo installer -pkg "${PROJECT_DIR}/tmp/${INSTALLER_NAME}" -target /
sudo installer -pkg "${PROJECT_DIR}/tmp/${INSTALLER_NAME}" -target /