From 4691fcb3d70541d24e0b5a7e35d27ca82ff40bce Mon Sep 17 00:00:00 2001 From: Eloy Duran Date: Fri, 11 Sep 2009 19:24:37 +0200 Subject: [PATCH] Don't print that there are _and_ aren't formulae updates. --- bin/brew | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/brew b/bin/brew index 668816948b..1c57a5b2fd 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'