Move port/fink check.
This commit is contained in:
parent
71f9d74adf
commit
76dac059ac
@ -16,6 +16,17 @@ def check_for_x11
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def check_for_other_package_managers
|
||||||
|
if macports_or_fink_installed?
|
||||||
|
puts "You have Macports or Fink installed. This can cause trouble."
|
||||||
|
puts "You don't have to uninstall them, but you may like to try temporarily"
|
||||||
|
puts "moving them away, eg."
|
||||||
|
puts
|
||||||
|
puts " sudo mv /opt/local ~/macports"
|
||||||
|
puts
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def brew_doctor
|
def brew_doctor
|
||||||
read, write = IO.pipe
|
read, write = IO.pipe
|
||||||
|
|
||||||
@ -31,15 +42,7 @@ def brew_doctor
|
|||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
|
|
||||||
if macports_or_fink_installed?
|
check_for_other_package_managers
|
||||||
puts "You have Macports or Fink installed. This can cause trouble."
|
|
||||||
puts "You don't have to uninstall them, but you may like to try temporarily"
|
|
||||||
puts "moving them away, eg."
|
|
||||||
puts
|
|
||||||
puts " sudo mv /opt/local ~/macports"
|
|
||||||
puts
|
|
||||||
end
|
|
||||||
|
|
||||||
check_for_x11
|
check_for_x11
|
||||||
|
|
||||||
exit! 0
|
exit! 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user