diff options
| author | Eloy Duran | 2009-09-11 19:24:37 +0200 |
|---|---|---|
| committer | Eloy Duran | 2009-09-17 00:24:11 +0200 |
| commit | 4691fcb3d70541d24e0b5a7e35d27ca82ff40bce (patch) | |
| tree | 886db4c73750b5c6920385cd64cdae0885819d77 | |
| parent | 9ff551a524570c36a8fb82d37c50ef40f09df04a (diff) | |
| download | brew-4691fcb3d70541d24e0b5a7e35d27ca82ff40bce.tar.bz2 | |
Don't print that there are _and_ aren't formulae updates.
| -rwxr-xr-x | bin/brew | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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' |
