commit to move to gitlab
This commit is contained in:
parent
8251bc61aa
commit
d287e699c9
1 changed files with 3 additions and 3 deletions
4
homebrew-update-notifier.sh
Executable file → Normal file
4
homebrew-update-notifier.sh
Executable file → Normal file
|
@ -18,13 +18,13 @@ GROWL_NOTIFY='/usr/local/bin/growlnotify'
|
|||
GROWL_TITLE="Homebrew Update(s) Available"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue