update-report: add newline if preinstall updated.

Fixes #858.
This commit is contained in:
Mike McQuaid 2016-09-03 19:36:34 +01:00
parent 9fd97dd3cf
commit 2682b59b7f

View File

@ -76,7 +76,8 @@ module Homebrew
if !ARGV.include?("--preinstall") && !ENV["HOMEBREW_UPDATE_FAILED"]
puts "Already up-to-date."
end
elsif hub.empty?
else
if hub.empty?
puts "No changes to formulae."
else
hub.dump
@ -84,6 +85,8 @@ module Homebrew
hub.reporters.each(&:migrate_formula_rename)
Descriptions.update_cache(hub)
end
puts if ARGV.include?("--preinstall")
end
link_manpages
Tap.each(&:link_manpages)