dotfiles/symlinks/bin/mac-update

9 lines
143 B
Plaintext
Raw Normal View History

2021-01-07 08:09:41 +00:00
#!/bin/sh
brew update
brew upgrade
brew upgrade --cask
if [ $? -eq 0 ]; then
echo $( date +%s ) > $MY_CONFIG_CACHE_DIR/brew-upgrade-date
fi