kandji-inc / support

Software provided by the Solutions Engineering and Support teams at Kandji, Inc.

Home Page:https://kandji.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InstallHomebrew.zsh shows unapplied updates for cli-tools when there is none.

hylaride opened this issue · comments

Our organization is running InstallHombrew.zsh on a schedule to keep cli tools, homebrew, etc up to date. The issue is that the trick to get the CLI tools in to see the latest version in softwareupdate (touching /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress and running softwareupdate --list) will show an update notification on the gui software update. The solution to this is to run softwareupdate --list sometime after removing the temporary file or at the end of the script with the various cleanup steps. This will cause software update to not show uneeded cli-tool updates.

Can this be implemented?