Skip to content

Commit

Permalink
Merge pull request ansible#1671 from tonk/devel
Browse files Browse the repository at this point in the history
Added pip-python to the search for CentOS 6 compatibility
  • Loading branch information
mpdehaan committed Nov 24, 2012
2 parents 33196ec + 7bba04b commit d5fb81f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/pip
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ def main():
err += err_venv

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:
pip = module.get_bin_path('pip', True, ['%s/bin' % env])

Expand Down

0 comments on commit d5fb81f

Please sign in to comment.