Skip to content

Commit

Permalink
Don't print that there are _and_ aren't formulae updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Sep 16, 2009
1 parent 0a2a389 commit 0fa5dc0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/brew
Expand Up @@ -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'
Expand Down

0 comments on commit 0fa5dc0

Please sign in to comment.