aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-05 10:45:53 -0400
committerMax Howell2012-08-05 10:46:35 -0400
commit14f73005b7893cf5333acb9a5eb0bdeeb8831d8b (patch)
tree4190f5460c89ebeb5283a2831506bc53722357f2 /Library
parenteb96465868c8197594c2095d7e95d82f3576267d (diff)
downloadhomebrew-14f73005b7893cf5333acb9a5eb0bdeeb8831d8b.tar.bz2
Some users require hands to be held constantly
Tell user exactly what command to use rather than thinking they'll figure it out by applying some negation logic to the main verb in the sentence they just read. Closes #12790.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 1b723daaf..7aee62c5e 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -897,10 +897,14 @@ def check_for_unlinked_but_not_keg_only
end
end.map{ |pn| pn.basename }
+ # NOTE very old kegs will be linked without the LinkedKegs symlink
+ # this will trigger this warning but it's wrong, we could detect that though
+ # but I don't feel like writing the code.
+
if not unlinked.empty? then <<-EOS.undent
You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
- those kegs to fail to run properly once built.
+ those kegs to fail to run properly once built. Run `brew link` on these:
#{unlinked * "\n "}
EOS