diff options
| author | Nikolaus Wittenstein | 2016-10-26 21:45:15 -0400 |
|---|---|---|
| committer | Nikolaus Wittenstein | 2016-11-09 22:21:21 -0500 |
| commit | 969ac3a9c63ba670554b274dcc1fa1b5c2eadbb8 (patch) | |
| tree | 5aa8c02640ac6090a0f3bb99894822281d005f85 /Library/Homebrew | |
| parent | 8a7317aa8ff5f12067eb65e529a13490bc69deda (diff) | |
| download | brew-969ac3a9c63ba670554b274dcc1fa1b5c2eadbb8.tar.bz2 | |
`brew doctor` recommends using cask to upgrade XQuartz
Also changes exceptions.rb to use Formatter.url
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/exceptions.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/diagnostic.rb | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/exceptions.rb b/Library/Homebrew/cask/lib/hbc/exceptions.rb index c323f6c4c..548b26beb 100644 --- a/Library/Homebrew/cask/lib/hbc/exceptions.rb +++ b/Library/Homebrew/cask/lib/hbc/exceptions.rb @@ -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 diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 0ac95bfd9..d47b0a3d9 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -264,8 +264,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 |
