Use distro pip on Ubuntu
Running get-pip.py fails on Ubuntu when running twice, e.g. after a unstack/stack cycle. Just use distro pip instead. Closes-Bug: #1957048 Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: I87a8d53ed8860dd017a6c826dee6b6f4baef3c96
This commit is contained in:
parent
d5d0bed479
commit
d6909e41af
|
@ -129,6 +129,8 @@ if is_fedora && [[ ${DISTRO} == f* || ${DISTRO} == rhel9 ]]; then
|
|||
# For general sanity, we just use the packaged pip. It should be
|
||||
# recent enough anyway. This is included via rpms/general
|
||||
: # Simply fall through
|
||||
elif is_ubuntu; then
|
||||
: # pip on Ubuntu 20.04 is new enough, too
|
||||
else
|
||||
install_get_pip
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue