aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-30 21:44:54 -0700
committerAdam Vandenberg2010-10-30 21:50:33 -0700
commitc8781e720f75e067796ef187fa45240a84be1448 (patch)
treeec4f7f2bac52198c370490fc9738bb47cb60906d
parent1cd2c685a015f6c56e5cc1b5b27475ede72c8822 (diff)
downloadbrew-c8781e720f75e067796ef187fa45240a84be1448.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