aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-08-20 23:53:47 -0400
committerMax Howell2012-08-21 12:09:06 -0400
commitee11f32fb7bb091598e976604e8876fc77001e1e (patch)
treed3ee0d644312427e2d3292d3fbd2280b413faf1c /Library/Homebrew
parent4e7bb6c63766b457d07641e881da32a90f3f5872 (diff)
downloadbrew-ee11f32fb7bb091598e976604e8876fc77001e1e.tar.bz2
conflicts_with message: recommend unlink
Yes uninstall works, but lets not push people towards that, they can presumably guess that, in the rare case they'd prefer that option.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index f9b5a112c..f2638bc02 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -651,10 +651,11 @@ private
#{formula} cannot be installed alongside #{name.downcase}.
EOS
message << "This is because #{opts[:because]}\n" if opts[:because]
- if !ARGV.force? then message << <<-EOS.undent
- Please `brew unlink` or `brew uninstall` #{formula} before continuing.
- To install anyway, use:
- brew install --force
+ unless ARGV.force? then message << <<-EOS.undent
+ Please `brew unlink #{formula}` before continuing. Unlinking removes
+ the formula's symlinks from #{HOMEBREW_PREFIX}. You can link the
+ formula again after the install finishes. You can --force this install
+ but the build may fail or cause obscure side-effects in the end-binary.
EOS
end