diff --git a/Installomator.sh b/Installomator.sh index 6a7f957..9f6bdf4 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -1370,6 +1370,27 @@ microsoftdefenderatp) updateToolArguments=( --install --apps WDAV00 ) ;; +# this description is so you can provide all variables as arguments +# it will only check if the required variables are setting +valuesfromarguments) + if [[ -z $name ]]; then + printlog "need to provide 'name'" + exit 1 + fi + if [[ -z $type ]]; then + printlog "need to provide 'type'" + exit 1 + fi + if [[ -z $downloadURL ]]; then + printlog "need to provide 'downloadURL'" + exit 1 + fi + if [[ -z $expectedTeamID ]]; then + printlog "need to provide 'expectedTeamID'" + exit 1 + fi + ;; + # these descriptions exist for testing and are intentionally broken brokendownloadurl)