Added a hint how to link a formula that is installed but not linked
This commit is contained in:
parent
0028cf9fb8
commit
12c252855a
@ -142,6 +142,7 @@ module Homebrew
|
||||
msg = "#{current.full_name}-#{current.installed_version} already installed"
|
||||
unless current.linked_keg.symlink? || current.keg_only?
|
||||
msg << ", it's just not linked"
|
||||
puts "You can link formula with `brew link #{f}`"
|
||||
end
|
||||
opoo msg
|
||||
elsif f.migration_needed? && !ARGV.force?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user