commit to move to gitlab

This commit is contained in:
Andrew Davidson 2014-12-11 22:02:56 -05:00
parent 8251bc61aa
commit d287e699c9

6
homebrew-update-notifier.sh Executable file → Normal file
View file

@ -16,15 +16,15 @@ TERM_APP='/Applications/Utilities/Terminal.app'
BREW_EXEC='/usr/local/bin/brew' BREW_EXEC='/usr/local/bin/brew'
GROWL_NOTIFY='/usr/local/bin/growlnotify' GROWL_NOTIFY='/usr/local/bin/growlnotify'
GROWL_TITLE="Homebrew Update(s) Available" GROWL_TITLE="Homebrew Update(s) Available"
GROWL_ARGS="-n 'MacPorts' -d $GROWL_NOTIFY -a $BREW_EXEC" GROWL_ARGS="-n 'MacPorts' -d $GROWL_NOTIFY -a $BREW_EXEC"
$BREW_EXEC update 2>&1 > /dev/null $BREW_EXEC update > /dev/null 2>&1
outdated=`$BREW_EXEC outdated` outdated=`$BREW_EXEC outdated`
if [ -z $outdated ] ; then if [ -z $outdated ] ; then
if [ -e $GROWL_NOTIFY ]; then if [ -e $GROWL_NOTIFY ]; then
# No updates available # No updates available
$GROWL_NOTIFY $GROWL_ARGS -m '' -t "No Homebrew Updates Available" $GROWL_NOTIFY $GROWL_ARGS -m '' -t "No Homebrew updates available"
fi fi
else else
# We've got an outdated port or two # We've got an outdated port or two