xquartz: unprivate prefix.

This is breaking stuff:
https://github.com/Homebrew/homebrew-core/pull/61156/checks?check_run_id=1118574438#step:4:48
This commit is contained in:
Mike McQuaid 2020-09-15 17:24:29 +01:00
parent 17002147e7
commit 9943b3e80a
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

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?