Run alternatives pip -> pip-python
Checks to see if python-pip is installed and installs an alternatives link at /usr/bin/pip Change-Id: I858ac2597d3cacc79144a8b345faf6a2f7dee26e
This commit is contained in:
parent
e4957e37a9
commit
48e22d91b6
@ -18,4 +18,8 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
yum -y install $(map-packages "$@")
|
yum -y install $(map-packages "$@")
|
||||||
|
for pkg in "$@"; do
|
||||||
|
if [[ "$pkg" == "python-pip" ]] ; then
|
||||||
|
alternatives --install /usr/bin/pip pip /usr/bin/pip-python 10
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user