Skip to content

Comments

MacPorts for Sonoma#1642

Merged
Theile merged 2 commits intoInstallomator:mainfrom
Theile:MacPorts-update-for-Sonoma
May 29, 2024
Merged

MacPorts for Sonoma#1642
Theile merged 2 commits intoInstallomator:mainfrom
Theile:MacPorts-update-for-Sonoma

Conversation

@Theile
Copy link
Collaborator

@Theile Theile commented May 1, 2024

No description provided.

@Theile Theile added the application adds or improves an application label label May 1, 2024
@Theile Theile added this to the v10.6 milestone May 1, 2024
@Theile Theile merged commit 7b8476f into Installomator:main May 29, 2024
@ScottyBeach
Copy link

Hello Søren: It appears we need another bit added on to the MacPorts label. I've just added these lines to your work after your 'case' command for our copy but have never done a pull request so I'm not sure what to do next. It seems to work all right to fetch us the macOS 15 version of MacPorts so I think I got it right.

macports)
    name="MacPorts"
    type="pkg"
    #buildVersion=$(uname -r | cut -d '.' -f 1)
    case $(uname -r | cut -d '.' -f 1) in
    	24)
        	archiveName="Sequoia.pkg"
            ;;
        23)
            archiveName="Sonoma.pkg"
            ;;
        22)
            archiveName="Ventura.pkg"
            ;;
        21)
            archiveName="Monterey.pkg"
            ;;
        20)
            archiveName="BigSur.pkg"
            ;;
        19)
            archiveName="Catalina.pkg"
            ;;
        *)
            cleanupAndExit 98 "macOS 10.14 or earlier not supported by Installomator."
            ;;
    esac
    downloadURL=$(downloadURLFromGit macports macports-base)
    appNewVersion=$(versionFromGit macports macports-base)
    appCustomVersion(){ if [ -x /opt/local/bin/port ]; then /opt/local/bin/port version | awk '{print $2}'; else "0"; fi }
    updateTool="/opt/local/bin/port"
    updateToolArguments="selfupdate"
    expectedTeamID="QTA3A3B7F3"
    ;;

A pull request appears to be complex for adding those three lines. Would you recommend I make a PR for this?
Thank you.

  • Scott, in Toronto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants