aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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?