aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilovezfs2017-08-03 01:56:15 -0700
committerilovezfs2017-08-03 05:21:36 -0700
commitee6b0e7c9b5b5f2030830bbca97805d10867cdd6 (patch)
tree1fec991376ecff0255dcd842396cecc84f83e174
parent2ad03b8eb30ca69bf4b45c1cfc1ca619e49b9a04 (diff)
downloadbrew-ee6b0e7c9b5b5f2030830bbca97805d10867cdd6.tar.bz2
formula_cellar_checks: check_non_libraries only for new formulae
This check is overly opinionated and leads to audit failures no one cares to fix, so let's only run it for new formulae.
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 4718fc1a0..6c433e420 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -157,7 +157,7 @@ module FormulaCellarChecks
problem_if_output(check_manpages)
problem_if_output(check_infopages)
problem_if_output(check_jars)
- problem_if_output(check_non_libraries)
+ problem_if_output(check_non_libraries) if @new_formula
problem_if_output(check_non_executables(formula.bin))
problem_if_output(check_generic_executables(formula.bin))
problem_if_output(check_non_executables(formula.sbin))