aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index c02323365..4a4496fbd 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -976,6 +976,7 @@ end
def check_for_latest_xquartz
quartz = MacOS::XQuartz.version
return unless quartz
+ return if MacOS::XQuartz.provided_by_apple?
quartz = Version.new(quartz)
latest = Version.new(MacOS::XQuartz.latest_version)