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"
|
msg = "#{current.full_name}-#{current.installed_version} already installed"
|
||||||
unless current.linked_keg.symlink? || current.keg_only?
|
unless current.linked_keg.symlink? || current.keg_only?
|
||||||
msg << ", it's just not linked"
|
msg << ", it's just not linked"
|
||||||
|
puts "You can link formula with `brew link #{f}`"
|
||||||
end
|
end
|
||||||
opoo msg
|
opoo msg
|
||||||
elsif f.migration_needed? && !ARGV.force?
|
elsif f.migration_needed? && !ARGV.force?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user