aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEloy Duran2009-09-11 19:24:37 +0200
committerEloy Duran2009-09-17 00:24:11 +0200
commit4691fcb3d70541d24e0b5a7e35d27ca82ff40bce (patch)
tree886db4c73750b5c6920385cd64cdae0885819d77
parent9ff551a524570c36a8fb82d37c50ef40f09df04a (diff)
downloadbrew-4691fcb3d70541d24e0b5a7e35d27ca82ff40bce.tar.bz2
Don't print that there are _and_ aren't formulae updates.
-rwxr-xr-xbin/brew7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/brew b/bin/brew
index 668816948..1c57a5b2f 100755
--- a/bin/brew
+++ b/bin/brew
@@ -117,8 +117,11 @@ begin
ohai "Already up-to-date."
else
ohai "Updated Homebrew to: #{updater.current_revision}"
- ohai "No formulae were updated." unless updater.pending_formulae_changes?
- ohai "The following formulae were updated: #{updater.updated_formulae.join(', ')}"
+ if updater.pending_formulae_changes?
+ ohai "The following formulae were updated: #{updater.updated_formulae.join(', ')}"
+ else
+ ohai "No formulae were updated." unless updater.pending_formulae_changes?
+ end
end
when 'ln', 'link'