aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-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?