Browse code

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

Steve Baker authored on 2015/11/18 06:55:22
Showing 1 changed files
... ...
@@ -111,8 +111,10 @@ get_versions
111 111
 
112 112
 # Eradicate any and all system packages
113 113
 
114
-# python in f23 depends on the python-pip package
115
-if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then
114
+# Python in f23 and f22 depends on the python-pip package so removing it
115
+# results in a nonfunctional system. pip on fedora installs to /usr so pip
116
+# can safely override the system pip for all versions of fedora
117
+if ! is_fedora ; then
116 118
     uninstall_package python-pip
117 119
 fi
118 120