Open TechTrekkie opened 5 months ago
The folowing line of code will not populate if an app has multiple labels that it can be referenced by
currentDisplayName=$(sed -n '/# label descriptions/,$p' ${installomatorScript} | grep -i -A 50 "${label})" | grep -m 1 "name=" | sed 's/.*=//' | sed 's/"//g')
example: webex can be referenced by both "webex" and "webexteams"
`webex|\ webexteams)
name="Webex" type="dmg" if [[ $(arch) == arm64 ]]; then downloadURL="https://binaries.webex.com/WebexDesktop-MACOS-Apple-Silicon-Gold/Webex.dmg" elif [[ $(arch) == i386 ]]; then downloadURL="https://binaries.webex.com/WebexTeamsDesktop-MACOS-Gold/Webex.dmg" fi expectedTeamID="DE8Y96K9QP" ;;`
The folowing line of code will not populate if an app has multiple labels that it can be referenced by
currentDisplayName=$(sed -n '/# label descriptions/,$p' ${installomatorScript} | grep -i -A 50 "${label})" | grep -m 1 "name=" | sed 's/.*=//' | sed 's/"//g')
example: webex can be referenced by both "webex" and "webexteams"
`webex|\ webexteams)
credit: Erik Stam (@erikstam)