From c07ca9e56db09928c5ad6f412d5fb68d5069d018 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 29 Jan 2012 20:06:45 +0000 Subject: Bottles should care about cellar and prefix --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ac960f257..e91700c5e 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 -- cgit v1.2.3