Merge pull request #1381 from adzenith/patch-1

`brew doctor` recommends using cask to upgrade XQuartz
This commit is contained in:
Mike McQuaid 2016-11-10 21:05:21 +00:00 committed by GitHub
commit c2815fbb9a
2 changed files with 5 additions and 6 deletions

View File

@ -84,13 +84,11 @@ module Hbc
class CaskX11DependencyError < AbstractCaskErrorWithToken
def to_s
<<-EOS.undent
#{token} requires XQuartz/X11, which can be installed via homebrew-cask by
#{token} requires XQuartz/X11, which can be installed using Homebrew-Cask by running
brew cask install xquartz
or manually, by downloading the package from
https://www.xquartz.org/
#{Formatter.url("https://www.xquartz.org/")}
EOS
end
end

View File

@ -292,8 +292,9 @@ module Homebrew
<<-EOS.undent
Your XQuartz (#{installed_version}) is outdated.
Please install XQuartz #{latest_version} (or delete it):
https://xquartz.macosforge.org
Please install XQuartz #{latest_version} (or delete the current version).
XQuartz can be updated using Homebrew-Cask by running
brew cask reinstall xquartz
EOS
end