aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-30 21:44:54 -0700
committerAdam Vandenberg2010-10-30 21:50:33 -0700
commitdcfc1643d18b52ad67552cd27cdf544f33162f03 (patch)
tree8d17bbbb318b05bed6f7bf954bb9e5d8bdac5154
parent004725cfa2700b414c7356d16b3795b7493732c8 (diff)
downloadhomebrew-dcfc1643d18b52ad67552cd27cdf544f33162f03.tar.bz2
Reformat keg-only message
-rwxr-xr-xLibrary/Homebrew/install.rb15
1 files changed, 7 insertions, 8 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index 6ea22a351..f3ca8d2bd 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -3,21 +3,20 @@ require 'global'
def text_for_keg_only_formula f
if f.keg_only? == :provided_by_osx
- rationale = "Mac OS X already provides this program and installing another version in parallel can cause all kinds of trouble."
+ rationale = "Mac OS X already provides this program and installing another version in\nparallel can cause all kinds of trouble."
elsif f.keg_only?.kind_of? String
rationale = "The formula provides the following rationale:\n\n#{f.keg_only?.chomp}"
else
rationale = "The formula didn't provide any rationale for this."
end
<<-EOS
-#{f.name} is keg-only. This means it is not symlinked into Homebrew's
-prefix. #{rationale}
+This formula is keg-only, so it is not symlinked into Homebrew's prefix.
+#{rationale}
-Generally there are no consequences of this for you, however if you build your
-own software and it requires this formula, you may want to run this command to
-link it into the Homebrew prefix:
-
- brew link #{f.name}
+Generally there are no consequences of this for you, however if you build
+your own software and it requires this formula, you may want to run this
+command to link it into the Homebrew prefix:
+ $ brew link #{f.name}
EOS
end