aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-04 21:59:34 -0400
committerGitHub2016-11-04 21:59:34 -0400
commit297c60059c1e4a280d414593936e9784f9c0dfa9 (patch)
tree7bc8027156519ecdefe12f2ad27f4b998a8a2cd3 /Library
parent83b8c6cccdfb221a2f5986b585df5014007e4750 (diff)
parent12c252855a660b0964e08504f2087fadf1015760 (diff)
downloadbrew-297c60059c1e4a280d414593936e9784f9c0dfa9.tar.bz2
Merge pull request #1442 from ihatetoregister/patch-1
Added a hint how to link a formula that is installed but not linked
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 0867e893a..dcf46e5fa 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -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?