diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index e1e4eb99f..7cae9d056 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -26,6 +26,14 @@ then then /bin/sh $ZSH/tools/upgrade.sh # update the zsh file + + # Run software update if we're on a mac + # reccomended setting - run: softwareupdate schedule off + if [ uname -a | cut -d " " -f 1= "Darwin" ]; + then + sudo softwareupdate -l --verbose + fi + _update_zsh_update fi fi