diff options
| author | Eloy Duran | 2009-09-11 19:24:37 +0200 |
|---|---|---|
| committer | Eloy Duran | 2009-09-17 00:24:11 +0200 |
| commit | 0fa5dc02a978b371ed3075a93b6b7b82e5b343bf (patch) | |
| tree | 4a4394ad2c82d7749b16d8227059e7816b58ff98 | |
| parent | 0a2a38903dbb2eef43a1a63fab93dfd22c7734c1 (diff) | |
| download | homebrew-0fa5dc02a978b371ed3075a93b6b7b82e5b343bf.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' |
