mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -04:00
Tools: fix env install for bionic
This commit is contained in:
parent
a6f32e1a24
commit
1b4a7b5adf
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user