aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilovezfs2018-02-14 05:48:11 -0800
committerGitHub2018-02-14 05:48:11 -0800
commit5e4accbeb4f46cd364ba78fb74d871ab7485ea39 (patch)
treec577cbde543a7b4d069e397a403029a3be983553
parent2a41f1359e81a52082f93c109beb3506bced2250 (diff)
parent88b1e9223672ac2c23faf31055211a9a129eb692 (diff)
downloadbrew-5e4accbeb4f46cd364ba78fb74d871ab7485ea39.tar.bz2
Merge pull request #3805 from ilovezfs/more-checks-for-keg_only
formula_installer: also run audit_installed for keg_only formulae
-rw-r--r--Library/Homebrew/formula_installer.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index a89da9ae9..8d7f0aae1 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -566,7 +566,7 @@ class FormulaInstaller
def caveats
return if only_deps?
- audit_installed if ARGV.homebrew_developer? && !formula.keg_only?
+ audit_installed if ARGV.homebrew_developer?
caveats = Caveats.new(formula)
@@ -882,8 +882,10 @@ class FormulaInstaller
end
def audit_installed
- problem_if_output(check_env_path(formula.bin))
- problem_if_output(check_env_path(formula.sbin))
+ unless formula.keg_only?
+ problem_if_output(check_env_path(formula.bin))
+ problem_if_output(check_env_path(formula.sbin))
+ end
super
end