dotfiles/symlinks/bin/mac-update

9 lines
143 B
Bash
Executable File

#!/bin/sh
brew update
brew upgrade
brew upgrade --cask
if [ $? -eq 0 ]; then
echo $( date +%s ) > $MY_CONFIG_CACHE_DIR/brew-upgrade-date
fi