Don't print that there are _and_ aren't formulae updates.

This commit is contained in:
Eloy Duran 2009-09-11 19:24:37 +02:00
parent 9ff551a524
commit 4691fcb3d7

View File

@ -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'