diff options
| author | Adam Vandenberg | 2012-02-21 20:14:30 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-21 20:14:56 -0800 |
| commit | 1771fcacb77fddae2a0207357a0c129296fd9126 (patch) | |
| tree | a7599c96580bac679631cbff718f5fab86d11864 /Library | |
| parent | 8bbd52d36d4f06b1ed39d1e8a4c9403fedeef3ee (diff) | |
| download | homebrew-1771fcacb77fddae2a0207357a0c129296fd9126.tar.bz2 | |
Yield to the inevitable
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 2ad5cbc78..bb2e7dd83 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -449,11 +449,15 @@ module MacOS extend self end def lion? - 10.7 <= MACOS_VERSION #Actually Lion or newer + 10.7 <= MACOS_VERSION # Actually Lion or newer + end + + def mountain_lion? + 10.8 <= MACOS_VERSION # Actually Mountain Lion or newer end def prefer_64_bit? - Hardware.is_64_bit? and 10.6 <= MACOS_VERSION + Hardware.is_64_bit? and not leopard? end def bottles_supported? |
