From 1b4a7b5adfb72c32c63f9b231efe4ec74a401455 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Thu, 30 Jun 2022 08:40:40 +0200 Subject: [PATCH] Tools: fix env install for bionic --- Tools/environment_install/install-prereqs-ubuntu.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Tools/environment_install/install-prereqs-ubuntu.sh b/Tools/environment_install/install-prereqs-ubuntu.sh index 34d2e891e3..2b9dbab867 100755 --- a/Tools/environment_install/install-prereqs-ubuntu.sh +++ b/Tools/environment_install/install-prereqs-ubuntu.sh @@ -62,11 +62,16 @@ RELEASE_CODENAME=$(lsb_release -c -s) PYTHON_V="python3" # starting from ubuntu 20.04, python isn't symlink to default python interpreter PIP=pip3 -if [ ${RELEASE_CODENAME} == 'xenial' ] || [ ${RELEASE_CODENAME} == 'bionic' ]; then +if [ ${RELEASE_CODENAME} == 'xenial' ] ; then SITLFML_VERSION="2.3v5" SITLCFML_VERSION="2.3" PYTHON_V="python" PIP=pip2 +elif [ ${RELEASE_CODENAME} == 'bionic' ] ; then + SITLFML_VERSION="2.4" + SITLCFML_VERSION="2.4" + PYTHON_V="python" + PIP=pip2 elif [ ${RELEASE_CODENAME} == 'buster' ]; then SITLFML_VERSION="2.5" SITLCFML_VERSION="2.5"