diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 5121bdb6c2..e1ac3ec672 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -76,13 +76,16 @@ module Homebrew if !ARGV.include?("--preinstall") && !ENV["HOMEBREW_UPDATE_FAILED"] puts "Already up-to-date." end - elsif hub.empty? - puts "No changes to formulae." else - hub.dump - hub.reporters.each(&:migrate_tap_migration) - hub.reporters.each(&:migrate_formula_rename) - Descriptions.update_cache(hub) + if hub.empty? + puts "No changes to formulae." + else + hub.dump + hub.reporters.each(&:migrate_tap_migration) + hub.reporters.each(&:migrate_formula_rename) + Descriptions.update_cache(hub) + end + puts if ARGV.include?("--preinstall") end link_manpages