Clarify "could not tap" warning
Closes Homebrew/homebrew#31451. Closes Homebrew/homebrew#32223.
This commit is contained in:
parent
202a8bd29e
commit
d6bceebeca
@ -53,7 +53,12 @@ module Homebrew
|
|||||||
to.make_relative_symlink(path)
|
to.make_relative_symlink(path)
|
||||||
rescue SystemCallError
|
rescue SystemCallError
|
||||||
to = to.resolved_path if to.symlink?
|
to = to.resolved_path if to.symlink?
|
||||||
opoo "Could not tap #{Tty.white}#{tap_ref(path)}#{Tty.reset} over #{Tty.white}#{tap_ref(to)}#{Tty.reset}"
|
opoo <<-EOS.undent
|
||||||
|
Could not create link for #{Tty.white}#{tap_ref(path)}#{Tty.reset}, as it
|
||||||
|
conflicts with #{Tty.white}#{tap_ref(to)}#{Tty.reset}. You will need to use the
|
||||||
|
fully-qualified name when referring this formula, e.g.
|
||||||
|
brew install #{tap_ref(path)}
|
||||||
|
EOS
|
||||||
else
|
else
|
||||||
ignores << path.basename.to_s
|
ignores << path.basename.to_s
|
||||||
tapped += 1
|
tapped += 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user