aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorihatetoregister2016-11-05 00:17:02 +0100
committerGitHub2016-11-05 00:17:02 +0100
commit12c252855a660b0964e08504f2087fadf1015760 (patch)
treee335beee4e6d3357032e95a6409c9159d6d81961 /Library
parent0028cf9fb85e7fecb4ad803a817600068c821dc9 (diff)
downloadbrew-12c252855a660b0964e08504f2087fadf1015760.tar.bz2
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?