XQuartz: support Tiger's prefix
This commit is contained in:
parent
46cfc9826c
commit
eb9e68817d
@ -36,7 +36,7 @@ module OS
|
|||||||
def detect_version
|
def detect_version
|
||||||
if (path = bundle_path) && path.exist? && (version = version_from_mdls(path))
|
if (path = bundle_path) && path.exist? && (version = version_from_mdls(path))
|
||||||
version
|
version
|
||||||
elsif prefix.to_s == "/usr/X11"
|
elsif prefix.to_s == "/usr/X11" || prefix.to_s == "/usr/X11R6"
|
||||||
guess_system_version
|
guess_system_version
|
||||||
else
|
else
|
||||||
version_from_pkgutil
|
version_from_pkgutil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user