diff options
| author | Mike McQuaid | 2015-04-20 12:39:33 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-20 12:47:34 +0100 | 
| commit | d75a9d732766fdd9f8bf81e764698a8a9d7adcd6 (patch) | |
| tree | a1addd77035f3de87b3c2be742420a5df1c24347 /Library | |
| parent | 804c14176277f46a9a05f1ebbbee163f2136feb1 (diff) | |
| download | homebrew-d75a9d732766fdd9f8bf81e764698a8a9d7adcd6.tar.bz2 | |
formula_cellar_checks: fix memcached shadowing.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_cellar_checks.rb | 7 | 
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? | 
