Merge "Remove extra if/then/else construct in pip element"

This commit is contained in:
Zuul 2022-02-09 05:19:36 +00:00 committed by Gerrit Code Review
commit f7c93fdca5

View File

@ -250,8 +250,7 @@ EOF
elif [[ $DISTRO_NAME = gentoo ]]; then elif [[ $DISTRO_NAME = gentoo ]]; then
packages="dev-python/pip dev-python/virtualenv" packages="dev-python/pip dev-python/virtualenv"
emerge -U $packages emerge -U $packages
else elif [[ $DIB_RELEASE = bullseye ]]; then
if [[ $DIB_RELEASE = bullseye ]]; then
packages="python3-pip python3-virtualenv" packages="python3-pip python3-virtualenv"
apt-get -y install $packages apt-get -y install $packages
install_python3_pip install_python3_pip
@ -275,4 +274,3 @@ else
install_python3_pip install_python3_pip
fi fi
fi fi
fi