aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-05 22:34:20 -0600
committerJack Nagel2013-11-05 22:34:20 -0600
commit70c5ce09d995426aefdbfd4aba0b06efe100a433 (patch)
tree59d0e6012d846aba2729e9dd9c734cd2ac1f8323 /Library
parente67d419f78b05a4752dc03aa15b71c175e06e33f (diff)
downloadhomebrew-70c5ce09d995426aefdbfd4aba0b06efe100a433.tar.bz2
Make sure 10.9 users upgrade XQuartz
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb8
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