Skip to content

Commit 8c71ffa

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Never uninstall python-pip on fedora"
2 parents 80eb79c + bd4048a commit 8c71ffa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/install_pip.sh

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

118118
# Eradicate any and all system packages
119119

120-
# python in f23 depends on the python-pip package
121-
if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then
120+
# Python in f23 and f22 depends on the python-pip package so removing it
121+
# results in a nonfunctional system. pip on fedora installs to /usr so pip
122+
# can safely override the system pip for all versions of fedora
123+
if ! is_fedora ; then
122124
uninstall_package python-pip
123125
uninstall_package python3-pip
124126
fi

0 commit comments

Comments
 (0)