replace python-is-python2 to python-is-python3

This commit is contained in:
Aleksandr Chebotov
2020-09-30 16:59:28 +03:00
parent ec921a2443
commit 63a1d3a583
2 changed files with 4 additions and 4 deletions

View File

@@ -9,12 +9,12 @@ set -e
source $HELPER_SCRIPTS/os.sh
# Install Python, Python 3, pip, pip3
if isUbuntu16 || isUbuntu18 ; then
if isUbuntu16 || isUbuntu18; then
apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip
fi
if isUbuntu20 ; then
apt-get install -y --no-install-recommends python3 python3-dev python3-pip python-is-python3
if isUbuntu20; then
apt-get install -y --no-install-recommends python3 python3-dev python3-pip
ln -s /usr/bin/pip3 /usr/bin/pip
fi