aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMisty De Meo2016-04-17 14:29:12 -0700
committerMisty De Meo2016-04-18 09:52:46 -0700
commiteb9e68817dff46f613b669f1edb37d02443937c0 (patch)
tree34e774159dcc1d69cb5fbe9fe7c2d5db6e83c15d /Library/Homebrew
parent46cfc9826c6830c547d1e92c15306effd4df6d92 (diff)
downloadbrew-eb9e68817dff46f613b669f1edb37d02443937c0.tar.bz2
XQuartz: support Tiger's prefix
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index bf908c2ca..fd676b077 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -36,7 +36,7 @@ module OS
def detect_version
if (path = bundle_path) && path.exist? && (version = version_from_mdls(path))
version
- elsif prefix.to_s == "/usr/X11"
+ elsif prefix.to_s == "/usr/X11" || prefix.to_s == "/usr/X11R6"
guess_system_version
else
version_from_pkgutil