aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-01-27 15:34:31 +0000
committerGitHub2017-01-27 15:34:31 +0000
commitfc0d46c0a0b39803cdd84bb91bea1ecf54cfee9d (patch)
treebfb13043e4352fa597d40189c4d1ad8f447c1253
parente8148c3b4fe6b7bdb4f3970208971589e177c3f2 (diff)
parentaec3d1fe3dd3e7f9de2768af992dbdbb59dc60a5 (diff)
downloadbrew-fc0d46c0a0b39803cdd84bb91bea1ecf54cfee9d.tar.bz2
Merge pull request #1923 from Homebrew/revert-1916-cellar-check-etc
Revert "formula_cellar_checks: check for prefix/etc."
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index f72f36c48..7db5e748b 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -153,16 +153,6 @@ module FormulaCellarChecks
EOS
end
- def check_etc
- bad_etc = (formula.prefix/"etc")
- return unless bad_etc.directory?
- <<-EOS.undent
- #{bad_etc} exists!
- The contents should instead be installed into:
- #{formula.etc}
- EOS
- end
-
def audit_installed
audit_check_output(check_manpages)
audit_check_output(check_infopages)
@@ -175,7 +165,6 @@ module FormulaCellarChecks
audit_check_output(check_easy_install_pth(formula.lib))
audit_check_output(check_elisp_dirname(formula.share, formula.name))
audit_check_output(check_elisp_root(formula.share, formula.name))
- audit_check_output(check_etc)
end
alias generic_audit_installed audit_installed