From 584768b93f0351b0bc5a351cf3862745fec8c126 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 11 Dec 2012 23:39:18 +0000 Subject: [PATCH] Disable bottle installation correctly on 10.6. --- Library/Homebrew/macos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index 042380751e..2677dad71f 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -226,7 +226,7 @@ module MacOS extend self def bottles_supported? raise_if_failed=false # We support bottles on all versions of OS X except 32-bit Snow Leopard. - unless Hardware.is_64_bit? or MacOS.version >= :snow_leopard + if Hardware.is_32_bit? and MacOS.version = :snow_leopard return false unless raise_if_failed raise "Bottles are not supported on 32-bit Snow Leopard." end