diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index b85206b4d7..45d56701ab 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -176,7 +176,6 @@ module Homebrew fi.debug = ARGV.debug? fi.prelude fi.install - fi.caveats fi.finish rescue FormulaInstallationAlreadyAttemptedError # We already attempted to install f as part of the dependency tree of diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index bf49282ae9..fe5e2e5ec7 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -27,7 +27,6 @@ module Homebrew fi.debug = ARGV.debug? fi.prelude fi.install - fi.caveats fi.finish rescue FormulaInstallationAlreadyAttemptedError # next diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 8ae231002d..211d081e7b 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -67,7 +67,6 @@ module Homebrew outdated_keg.unlink if outdated_keg fi.install - fi.caveats fi.finish # If the formula was pinned, and we were force-upgrading it, unpin and diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index ba1da07bf3..8b0c1eebc4 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -364,7 +364,6 @@ class FormulaInstaller fi.prelude oh1 "Installing #{formula.full_name} dependency: #{Tty.green}#{dep.name}#{Tty.reset}" fi.install - fi.caveats fi.finish rescue Exception ignore_interrupts do @@ -409,6 +408,8 @@ class FormulaInstaller end end + caveats + ohai "Summary" if verbose? || show_summary_heading? puts summary ensure