mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 06:41:36 +08:00
Ubuntu.sh - report Ubuntu 20.04 in setup
This commit is contained in:
committed by
Julian Oes
parent
05886e053f
commit
8804dae480
@@ -53,7 +53,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# check ubuntu version
|
# check ubuntu version
|
||||||
# instructions for 16.04, 18.04
|
# instructions for 16.04, 18.04, 20.04
|
||||||
# otherwise warn and point to docker?
|
# otherwise warn and point to docker?
|
||||||
UBUNTU_RELEASE=`lsb_release -rs`
|
UBUNTU_RELEASE=`lsb_release -rs`
|
||||||
|
|
||||||
@@ -64,6 +64,8 @@ elif [[ "${UBUNTU_RELEASE}" == "16.04" ]]; then
|
|||||||
echo "Ubuntu 16.04"
|
echo "Ubuntu 16.04"
|
||||||
elif [[ "${UBUNTU_RELEASE}" == "18.04" ]]; then
|
elif [[ "${UBUNTU_RELEASE}" == "18.04" ]]; then
|
||||||
echo "Ubuntu 18.04"
|
echo "Ubuntu 18.04"
|
||||||
|
elif [[ "${UBUNTU_RELEASE}" == "20.04" ]]; then
|
||||||
|
echo "Ubuntu 20.04"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user