From a089d607ac7f429f2ef7a81f3e53575fe6b5163b Mon Sep 17 00:00:00 2001 From: jasmania2 <60817669+jasmania2@users.noreply.github.com> Date: Fri, 15 Apr 2022 14:23:14 -0400 Subject: [PATCH] New Label- SonoBus 2022-04-15 12:02:19 sonobus ################## Start Installomator v. 9.0dev 2022-04-15 12:02:19 sonobus ################## sonobus 2022-04-15 12:02:19 sonobus DEBUG mode 1 enabled. 2022-04-15 12:02:20 sonobus BLOCKING_PROCESS_ACTION=kill 2022-04-15 12:02:20 sonobus NOTIFY=all 2022-04-15 12:02:20 sonobus LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-15 12:02:20 sonobus no blocking processes defined, using Sonobus as default 2022-04-15 12:02:20 sonobus Changing directory to /Library/Application Support/JAMF/tmp 2022-04-15 12:02:20 sonobus App(s) found: /Applications/Sonobus.app 2022-04-15 12:02:20 sonobus found app at /Applications/Sonobus.app, version 1.5.1 2022-04-15 12:02:20 sonobus appversion: 1.5.1 2022-04-15 12:02:20 sonobus Latest version of Sonobus is 1.5.1 2022-04-15 12:02:20 sonobus DEBUG mode enabled, not exiting, but there is no new version of app. 2022-04-15 12:02:20 sonobus Downloading https://www.sonobus.net/releases/sonobus-1.5.1-mac.dmg to Sonobus.dmg 2022-04-15 12:02:20 sonobus notifying 2022-04-15 12:02:22 sonobus DEBUG mode, not checking for blocking processes 2022-04-15 12:02:22 sonobus Installing Sonobus 2022-04-15 12:02:22 sonobus notifying 2022-04-15 12:02:22 sonobus Mounting /Library/Application Support/JAMF/tmp/Sonobus.dmg 2022-04-15 12:02:23 sonobus Mounted: /Volumes/SonoBus v1.5.1 2022-04-15 12:02:23 sonobus found pkg: /Volumes/SonoBus v1.5.1/SonoBus Installer.pkg 2022-04-15 12:02:23 sonobus Verifying: /Volumes/SonoBus v1.5.1/SonoBus Installer.pkg 2022-04-15 12:02:24 sonobus Team ID: XCS435894D (expected: XCS435894D ) 2022-04-15 12:02:24 sonobus DEBUG enabled, skipping installation 2022-04-15 12:02:24 sonobus Finishing... 2022-04-15 12:02:34 sonobus App(s) found: /Applications/Sonobus.app 2022-04-15 12:02:34 sonobus found app at /Applications/Sonobus.app, version 1.5.1 2022-04-15 12:02:34 sonobus Installed Sonobus, version 1.5.1 2022-04-15 12:02:34 sonobus notifying 2022-04-15 12:02:34 sonobus Unmounting /Volumes/SonoBus v1.5.1 "disk2" ejected. 2022-04-15 12:02:34 sonobus DEBUG mode, not reopening anything 2022-04-15 12:02:34 sonobus ################## End Installomator, exit code 0 --- fragments/labels/sonobus.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fragments/labels/sonobus.sh diff --git a/fragments/labels/sonobus.sh b/fragments/labels/sonobus.sh new file mode 100644 index 0000000..0aa9d9a --- /dev/null +++ b/fragments/labels/sonobus.sh @@ -0,0 +1,9 @@ +sonobus) +name="Sonobus" +type="pkgInDmg" +html_page_source="$(curl -fs 'https://www.sonobus.net')" +downloadFile="$(echo "${html_page_source}" | xmllint --html --xpath "string(//a[contains(@href, 'mac.dmg')]/@href)" - 2> /dev/null)" +downloadURL="https://www.sonobus.net/$downloadFile" +appNewVersion="$(echo "${downloadFile}" | sed 's/releases\/sonobus-//' | sed 's/\-mac.dmg//' )" +expectedTeamID="XCS435894D" +;; \ No newline at end of file