aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-04-11 01:39:44 +0100
committerDominyk Tiller2017-05-01 16:56:16 +0100
commit285b0bc94154adb8b9b89038589e3194e80ece3d (patch)
treec7370b6fa077026c35b4087a07e0ebf418332018 /Library
parent8cba0352e0be94263e2ed96c98bf93d8f2fce8ef (diff)
downloadbrew-285b0bc94154adb8b9b89038589e3194e80ece3d.tar.bz2
caveats: tweak keg_only wording
Current: ``` This formula is keg-only, which means it was not symlinked into /usr/local. Qt has CMake issues when linked ``` After: ``` This formula is keg-only, which means it was not symlinked into /usr/local, because Qt has CMake issues when linked. ```
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/caveats.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb
index b7c0a60c9..2032e9ff1 100644
--- a/Library/Homebrew/caveats.rb
+++ b/Library/Homebrew/caveats.rb
@@ -44,8 +44,10 @@ class Caveats
def keg_only_text
return unless f.keg_only?
- s = "This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX}."
- s << "\n\n#{f.keg_only_reason}\n"
+ s = <<-EOS.undent
+ This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX},
+ because #{f.keg_only_reason}.
+ EOS
if f.bin.directory? || f.sbin.directory?
s << "\nIf you need to have this software first in your PATH run:\n"
if f.bin.directory?