From bd4048a3c50e3cd215785e187e9e40b78bd064ae Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Wed, 18 Nov 2015 10:55:22 +1300 Subject: [PATCH] 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 --- tools/install_pip.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/install_pip.sh b/tools/install_pip.sh index ab5efb2e77..1728816890 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -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