aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/update-report.rb15
1 files changed, 9 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 5121bdb6c..e1ac3ec67 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