Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Show conflicting files on install if linking fails #20726

Closed
wants to merge 1 commit into from

2 participants

@adamv
Owner

Closes #18303.

@mikemcquaid
Owner

Looks good.

@adamv adamv closed this in d8d41cc
@nddrylliog nddrylliog referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@handyman5 handyman5 referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2013
  1. @adamv

    Show conflicting files on install if linking fails

    adamv authored
    Closes #18303.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 Library/Homebrew/formula_installer.rb
View
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 #{f.name}'"
+ puts
+ puts "Possible conflicting files are:"
+ mode = OpenStruct.new(:dry_run => true, :overwrite => true)
+ keg.link(mode)
ohai e, e.backtrace if ARGV.debug?
@show_summary_heading = true
ignore_interrupts{ keg.unlink }
Something went wrong with that request. Please try again.