diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ac960f257e..e91700c5eb 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -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