Skip to content
Snippets Groups Projects
Unverified Commit 7e5237ca authored by Rylan Polster's avatar Rylan Polster Committed by GitHub
Browse files

Merge pull request #10184 from Rylan12/disable-python-doctor-message

doctor: disable python symlink message
parents 425a2a67 e04f4506
No related branches found
No related tags found
No related merge requests found
......@@ -707,20 +707,6 @@ module Homebrew
message
end
def check_for_bad_python_symlink
return unless which "python"
`python -V 2>&1` =~ /Python (\d+)\./
# This won't be the right warning if we matched nothing at all
return if Regexp.last_match(1).nil?
return if Regexp.last_match(1) == "2"
<<~EOS
python is symlinked to python#{Regexp.last_match(1)}
This will confuse build scripts and in general lead to subtle breakage.
EOS
end
def check_for_non_prefixed_coreutils
coreutils = Formula["coreutils"]
return unless coreutils.any_version_installed?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment