From d287e699c91319300ac9cd0840524ab1812cc509 Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 11 Dec 2014 22:02:56 -0500 Subject: [PATCH] commit to move to gitlab --- homebrew-update-notifier.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 homebrew-update-notifier.sh diff --git a/homebrew-update-notifier.sh b/homebrew-update-notifier.sh old mode 100755 new mode 100644 index 66e280b..69728e5 --- a/homebrew-update-notifier.sh +++ b/homebrew-update-notifier.sh @@ -16,15 +16,15 @@ TERM_APP='/Applications/Utilities/Terminal.app' BREW_EXEC='/usr/local/bin/brew' GROWL_NOTIFY='/usr/local/bin/growlnotify' 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` if [ -z $outdated ] ; then if [ -e $GROWL_NOTIFY ]; then # No updates available - $GROWL_NOTIFY $GROWL_ARGS -m '' -t "No Homebrew Updates Available" + $GROWL_NOTIFY $GROWL_ARGS -m '' -t "No Homebrew updates available" fi else # We've got an outdated port or two