Skip to content

Commit bd4048a

Browse files
committed
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
1 parent 585501a commit bd4048a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tools/install_pip.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ get_versions
111111

112112
# Eradicate any and all system packages
113113

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
116118
uninstall_package python-pip
117119
fi
118120

0 commit comments

Comments
 (0)