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. ```
This commit is contained in:
parent
8cba0352e0
commit
285b0bc941
@ -44,8 +44,10 @@ class Caveats
|
|||||||
def keg_only_text
|
def keg_only_text
|
||||||
return unless f.keg_only?
|
return unless f.keg_only?
|
||||||
|
|
||||||
s = "This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX}."
|
s = <<-EOS.undent
|
||||||
s << "\n\n#{f.keg_only_reason}\n"
|
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?
|
if f.bin.directory? || f.sbin.directory?
|
||||||
s << "\nIf you need to have this software first in your PATH run:\n"
|
s << "\nIf you need to have this software first in your PATH run:\n"
|
||||||
if f.bin.directory?
|
if f.bin.directory?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user