Merge "Remove extra if/then/else construct in pip element"
This commit is contained in:
commit
f7c93fdca5
@ -250,12 +250,11 @@ EOF
|
||||
elif [[ $DISTRO_NAME = gentoo ]]; then
|
||||
packages="dev-python/pip dev-python/virtualenv"
|
||||
emerge -U $packages
|
||||
else
|
||||
if [[ $DIB_RELEASE = bullseye ]]; then
|
||||
elif [[ $DIB_RELEASE = bullseye ]]; then
|
||||
packages="python3-pip python3-virtualenv"
|
||||
apt-get -y install $packages
|
||||
install_python3_pip
|
||||
else
|
||||
else
|
||||
# pre-install packages so dependencies are there. We will
|
||||
# overwrite with latest below.
|
||||
packages="python-pip python-virtualenv"
|
||||
@ -274,5 +273,4 @@ else
|
||||
if [[ ${DIB_PYTHON_VERSION} == 3 ]]; then
|
||||
install_python3_pip
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user