aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-11-07 07:38:07 +0000
committerMike McQuaid2017-11-07 07:39:10 +0000
commit2ad17993086af7ceb20123a8ca26e7f84c2311d6 (patch)
treed7651e4cccfad2c3ad88adba6f4fc30ba85ca749
parent4cc72cf3be06c89e1e87ceeb18a76020c644c924 (diff)
downloadbrew-2ad17993086af7ceb20123a8ca26e7f84c2311d6.tar.bz2
os/mac/diagnostic: fix XQuartz message.
Fixes #3434.
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 86abfab87..65b8d7cde 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