1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #1671 from tonk/devel

Added pip-python to the search for CentOS 6 compatibility
This commit is contained in:
Michael DeHaan 2012-11-24 08:30:56 -08:00
commit d5fb81fe0b

View file

@ -136,6 +136,9 @@ def main():
err += err_venv err += err_venv
pip = module.get_bin_path('python-pip', False, ['%s/bin' % env]) pip = module.get_bin_path('python-pip', False, ['%s/bin' % env])
if not pip:
pip = module.get_bin_path('pip-python', False, ['%s/bin' % env])
if not pip: if not pip:
pip = module.get_bin_path('pip', True, ['%s/bin' % env]) pip = module.get_bin_path('pip', True, ['%s/bin' % env])