aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-04-20 12:39:33 +0100
committerMike McQuaid2015-04-20 12:47:34 +0100
commite370cd784bd678704046f3f508a016811ed8d725 (patch)
tree0e4827756c9cb9505523246ad19fda048f57c239 /Library
parent36576333274a609b6546d7f4c05f05909d87cfda (diff)
downloadbrew-e370cd784bd678704046f3f508a016811ed8d725.tar.bz2
formula_cellar_checks: fix memcached shadowing.
Diffstat (limited to 'Library')
-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?