Bottles should care about cellar and prefix

This commit is contained in:
Mike McQuaid 2012-01-29 20:06:45 +00:00
parent 5508acc139
commit c07ca9e56d

View File

@ -400,7 +400,7 @@ module MacOS extend self
end
def bottles_supported?
lion? and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar'
lion? and HOMEBREW_PREFIX.to_s == '/usr/local' and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar'
end
end