Never uninstall python-pip on fedora

Python in f23 and f22 depends on the python-pip package so removing it
results in a nonfunctional system. pip on fedora installs to /usr so pip
can safely override the system pip for all versions of Fedora.

Change-Id: I336c7ffdf00784ca8deba7d6612a08b96a0ad098
Closes-Bug: #1467569
This commit is contained in:
Steve Baker 2015-11-18 10:55:22 +13:00
parent 585501a250
commit bd4048a3c5
1 changed files with 4 additions and 2 deletions

View File

@ -111,8 +111,10 @@ get_versions
# Eradicate any and all system packages
# python in f23 depends on the python-pip package
if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then
# Python in f23 and f22 depends on the python-pip package so removing it
# results in a nonfunctional system. pip on fedora installs to /usr so pip
# can safely override the system pip for all versions of fedora
if ! is_fedora ; then
uninstall_package python-pip
fi