Merge "Remove extra if/then/else construct in pip element"
This commit is contained in:
commit
f7c93fdca5
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user