Files
Installomator/fragments/labels/microsoftyammer.sh
Søren Theilgaard 709a787805 microsoft updateTool updates
All Microsoft labels with `updateTool` variable is updated to list updates first. That should help.
2021-10-22 16:59:46 +02:00

11 lines
757 B
Bash

microsoftyammer)
name="Yammer"
type="dmg"
downloadURL="https://aka.ms/yammer_desktop_mac"
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/oldpackage[id="com.microsoft.yammer.standalone"]/cfbundleshortversionstring' 2>/dev/null | sed -E 's/<cfbundleshortversionstring>([0-9.]*)<.*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="UBF8T346G9"
#updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate --list; /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
#updateToolArguments=( --install --apps ?????? )
;;