diff options
| author | Jack Nagel | 2013-11-05 22:34:20 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-05 22:34:20 -0600 |
| commit | 82d6e2cf8a56ac8a06b536648448553f0ea063bc (patch) | |
| tree | 116164ab7c3e985dfb55a1b4a42fd2d17625219f | |
| parent | 466cc33bf323430a9dfa24fa126028a7d2a42f85 (diff) | |
| download | brew-82d6e2cf8a56ac8a06b536648448553f0ea063bc.tar.bz2 | |
Make sure 10.9 users upgrade XQuartz
| -rw-r--r-- | Library/Homebrew/os/mac/xquartz.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index 32804e2e1..9eb1fe6bb 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -39,8 +39,14 @@ module OS end end + # http://xquartz.macosforge.org/trac/wiki + # http://xquartz.macosforge.org/trac/wiki/Releases def latest_version - "2.7.4" + case MacOS.version + when "10.5" then "2.6.3" + when "10.9" then "2.7.5_rc4" + else "2.7.4" + end end def bundle_path |
