diff options
| author | Jack Nagel | 2013-11-06 09:48:18 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-06 09:48:18 -0600 |
| commit | 5863a7262507af11fa70d5d1a43fc8a75f0c2b6f (patch) | |
| tree | 5e64e27bfcce29242af0bd0d6cfaa727066627b7 /Library/Homebrew | |
| parent | 0f87351a0ee1090a07cb7b8aa34aec71f09886cf (diff) | |
| download | brew-5863a7262507af11fa70d5d1a43fc8a75f0c2b6f.tar.bz2 | |
Make sure 10.9 users upgrade XQuartz
Diffstat (limited to 'Library/Homebrew')
| -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 |
