Skip to content

Commit

Permalink
Added a hint how to link a formula that is installed but not linked
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatetoregister committed Nov 4, 2016
1 parent 0028cf9 commit 12c2528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cmd/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def install
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?
Expand Down

0 comments on commit 12c2528

Please sign in to comment.