Merge pull request #8728 from MikeMcQuaid/xquartz-prefix

xquartz: unprivate prefix.
This commit is contained in:
Mike McQuaid 2020-09-15 17:52:52 +01:00 committed by GitHub
commit 03bba5a66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,6 @@ module OS
def prefix
@prefix ||= Pathname.new("/opt/X11") if Pathname.new("/opt/X11/lib/libpng.dylib").exist?
end
private_class_method :prefix
def installed?
!version.null? && !prefix.nil?