From 2ad17993086af7ceb20123a8ca26e7f84c2311d6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 7 Nov 2017 07:38:07 +0000 Subject: [PATCH] os/mac/diagnostic: fix XQuartz message. Fixes #3434. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 86abfab871..65b8d7cde2 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -281,8 +281,8 @@ module Homebrew return unless MacOS::XQuartz.outdated? <<~EOS - Your XQuartz (#{installed_version}) is outdated. - Please install XQuartz #{latest_version} (or delete the current version). + Your XQuartz (#{MacOS::XQuartz.version}) is outdated. + Please install XQuartz #{MacOS::XQuartz.latest_version} (or delete the current version). XQuartz can be updated using Homebrew-Cask by running brew cask reinstall xquartz EOS