diff --git a/Library/Homebrew/cask/artifact/installer.rb b/Library/Homebrew/cask/artifact/installer.rb index a1da31d9bb..899a44b158 100644 --- a/Library/Homebrew/cask/artifact/installer.rb +++ b/Library/Homebrew/cask/artifact/installer.rb @@ -16,7 +16,6 @@ module Cask puts <<~EOS To complete the installation of Cask #{cask}, you must also run the installer at: - '#{cask.staged_path.join(path)}' EOS end diff --git a/Library/Homebrew/cask/dsl/caveats.rb b/Library/Homebrew/cask/dsl/caveats.rb index f6d3d6c015..e2e43349d8 100644 --- a/Library/Homebrew/cask/dsl/caveats.rb +++ b/Library/Homebrew/cask/dsl/caveats.rb @@ -48,11 +48,8 @@ module Cask <<~EOS To install and/or use #{@cask} you may need to enable its kernel extension in: - System Preferences → Security & Privacy → General - For more information refer to vendor documentation or this Apple Technical Note: - #{Formatter.url("https://developer.apple.com/library/content/technotes/tn2459/_index.html")} EOS end @@ -61,7 +58,6 @@ module Cask <<~EOS To use #{@cask}, you may need to add the #{path} directory to your PATH environment variable, e.g. (for bash shell): - export PATH=#{path}:"$PATH" EOS end @@ -71,7 +67,6 @@ module Cask To use #{@cask}, zsh users may need to add the following line to their ~/.zprofile. (Among other effects, #{path} will be added to the PATH environment variable): - eval `/usr/libexec/path_helper -s` EOS end @@ -90,19 +85,16 @@ module Cask if java_version == :any <<~EOS #{@cask} requires Java. You can install the latest version with: - brew cask install java EOS elsif java_version.include?("11") || java_version.include?("+") <<~EOS #{@cask} requires Java #{java_version}. You can install the latest version with: - brew cask install java EOS else <<~EOS #{@cask} requires Java #{java_version}. You can install it with: - brew cask install homebrew/cask-versions/java#{java_version} EOS end diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 129f5165c5..d28359af3a 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -131,13 +131,11 @@ module Cask def to_s <<~EOS Checksum for Cask '#{token}' does not match. - Expected: #{Formatter.success(expected.to_s)} Actual: #{Formatter.error(actual.to_s)} File: #{path} - - To retry an incomplete download, remove the file above. If the issue persists, visit: - + To retry an incomplete download, remove the file above. + If the issue persists, visit: #{Formatter.url("https://github.com/Homebrew/homebrew-cask/blob/master/doc/reporting_bugs/checksum_does_not_match_error.md")} EOS end diff --git a/Library/Homebrew/test/cask/cmd/info_spec.rb b/Library/Homebrew/test/cask/cmd/info_spec.rb index 51a428b5ea..2d1ce04c6d 100644 --- a/Library/Homebrew/test/cask/cmd/info_spec.rb +++ b/Library/Homebrew/test/cask/cmd/info_spec.rb @@ -84,7 +84,6 @@ describe Cask::Cmd::Info, :cask do Custom text via puts followed by DSL-generated text: To use with-caveats, you may need to add the /custom/path/bin directory to your PATH environment variable, e.g. (for bash shell): - export PATH=/custom/path/bin:"$PATH" EOS diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index c51e21ed10..4d2bad775b 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -118,7 +118,6 @@ describe Cask::Installer, :cask do ==> Installing Cask with-installer-manual To complete the installation of Cask with-installer-manual, you must also run the installer at: - '#{with_installer_manual.staged_path.join("Caffeine.app")}' 🍺 with-installer-manual was successfully installed! EOS