mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
@@ -169,6 +169,7 @@ loom
|
||||
lucifer
|
||||
lulu
|
||||
macfuse
|
||||
macports
|
||||
malwarebytes
|
||||
mattermost
|
||||
menumeters
|
||||
|
||||
@@ -164,6 +164,8 @@ REOPEN="yes"
|
||||
# - archiveName: (optional)
|
||||
# The name of the downloaded file.
|
||||
# When not given the archiveName is derived from the $name.
|
||||
# Note: This has to be defined BEFORE calling downloadURLFromGit or
|
||||
# versionFromGit functions in the label.
|
||||
#
|
||||
# - appName: (optional)
|
||||
# File name of the app bundle in the dmg to verify and copy (include .app).
|
||||
|
||||
23
fragments/labels/macports.sh
Normal file
23
fragments/labels/macports.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
macports)
|
||||
name="MacPorts"
|
||||
type="pkg"
|
||||
#buildVersion=$(uname -r | cut -d '.' -f 1)
|
||||
case $(uname -r | cut -d '.' -f 1) in
|
||||
21)
|
||||
archiveName="Monterey.pkg"
|
||||
;;
|
||||
20)
|
||||
archiveName="BigSur.pkg"
|
||||
;;
|
||||
19)
|
||||
archiveName="Catalina.pkg"
|
||||
;;
|
||||
*)
|
||||
cleanupAndExit 1 "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 }
|
||||
expectedTeamID="QTA3A3B7F3"
|
||||
;;
|
||||
Reference in New Issue
Block a user