aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 4de58cc36..7ecb7e574 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -398,6 +398,10 @@ module MacOS extend self
def prefer_64_bit?
Hardware.is_64_bit? and 10.6 <= MACOS_VERSION
end
+
+ def bottles_supported?
+ lion? and HOMEBREW_PREFIX.to_s == '/usr/local'
+ end
end
module GitHub extend self