brew doctor recommends using cask to upgrade XQuartz
Also changes exceptions.rb to use Formatter.url
This commit is contained in:
parent
8a7317aa8f
commit
969ac3a9c6
@ -84,13 +84,11 @@ module Hbc
|
|||||||
class CaskX11DependencyError < AbstractCaskErrorWithToken
|
class CaskX11DependencyError < AbstractCaskErrorWithToken
|
||||||
def to_s
|
def to_s
|
||||||
<<-EOS.undent
|
<<-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
|
brew cask install xquartz
|
||||||
|
|
||||||
or manually, by downloading the package from
|
or manually, by downloading the package from
|
||||||
|
#{Formatter.url("https://www.xquartz.org/")}
|
||||||
https://www.xquartz.org/
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -264,8 +264,9 @@ module Homebrew
|
|||||||
|
|
||||||
<<-EOS.undent
|
<<-EOS.undent
|
||||||
Your XQuartz (#{installed_version}) is outdated.
|
Your XQuartz (#{installed_version}) is outdated.
|
||||||
Please install XQuartz #{latest_version} (or delete it):
|
Please install XQuartz #{latest_version} (or delete the current version).
|
||||||
https://xquartz.macosforge.org
|
XQuartz can be updated using Homebrew-Cask by running
|
||||||
|
brew cask reinstall xquartz
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user