aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-04-20 12:39:33 +0100
committerMike McQuaid2015-04-20 12:47:34 +0100
commitd75a9d732766fdd9f8bf81e764698a8a9d7adcd6 (patch)
treea1addd77035f3de87b3c2be742420a5df1c24347
parent804c14176277f46a9a05f1ebbbee163f2136feb1 (diff)
downloadhomebrew-d75a9d732766fdd9f8bf81e764698a8a9d7adcd6.tar.bz2
formula_cellar_checks: fix memcached shadowing.
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 2b38b4b22..848965016 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -108,11 +108,8 @@ module FormulaCellarChecks
return if formula.name == formula_name
end
- if MacOS.version < :mavericks &&
- (formula.name.start_with?("postgresql") ||
- formula.name.start_with?("memcached"))
- return
- end
+ return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
+ return if MacOS.version < :yosemite && formula.name.start_with?("memcached")
return if formula.keg_only? || !formula.include.directory?