aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Afanasjew2016-07-06 16:24:31 +0200
committerMartin Afanasjew2016-07-06 16:26:27 +0200
commitec75ca7e42b35ae2932ca3feacfd97e2aab5d278 (patch)
treecbe83cebe8bac83f70d0d1b6359beaf1e34bc0f3 /Library
parent284291060965b60ea692e09137dba7be95b4be8c (diff)
downloadbrew-ec75ca7e42b35ae2932ca3feacfd97e2aab5d278.tar.bz2
extend/os/mac/diagnostic: remove redundant method
Remove an exact duplicate from further up in the same file. (It was accidentally added in 8a582f2bd976ce7044c3b2dc6eef701f94b9ace5.)
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index a440df7ee..6f64d1f8a 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -271,21 +271,6 @@ module Homebrew
EOS
end
- def check_for_other_package_managers
- ponk = MacOS.macports_or_fink
- return if ponk.empty?
-
- <<-EOS.undent
- You have MacPorts or Fink installed:
- #{ponk.join(", ")}
-
- This can cause trouble. You don't have to uninstall them, but you may want to
- temporarily move them out of the way, e.g.
-
- sudo mv /opt/local ~/macports
- EOS
- end
-
def check_xcode_license_approved
# If the user installs Xcode-only, they have to approve the
# license or no "xc*" tool will work.