Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Show conflicting files on install if linking fails

Closes #18303.
Closes #20726.
  • Loading branch information...
commit d8d41ccabcb78258bae1df50c3a6148f3811fc5d 1 parent 0a75bb7
@adamv adamv authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Library/Homebrew/formula_installer.rb
4 Library/Homebrew/formula_installer.rb
@@ -364,6 +364,10 @@ def link
onoe "The `brew link` step did not complete successfully"
puts "The formula built, but is not symlinked into #{HOMEBREW_PREFIX}"
puts "You can try again using `brew link #{}'"
+ puts
+ puts "Possible conflicting files are:"
+ mode = => true, :overwrite => true)
ohai e, e.backtrace if ARGV.debug?
@show_summary_heading = true
ignore_interrupts{ keg.unlink }

0 comments on commit d8d41cc

Please sign in to comment.
Something went wrong with that request. Please try again.