mirror of https://github.com/ArduPilot/ardupilot
Tools: Update install-prereqs-ubuntu
Add lsb-core check for lsb_release Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
7f6b7dab2f
commit
31dbf282cb
|
@ -66,6 +66,9 @@ if $QUIET; then
|
|||
APT_GET="$APT_GET -qq"
|
||||
fi
|
||||
|
||||
if ! dpkg-query -l "lsb-release"; then
|
||||
$APT_GET install lsb-release
|
||||
fi
|
||||
# possibly grab a newer cmake for older ubuntu releases
|
||||
read -r UBUNTU_CODENAME <<<$(lsb_release -c -s)
|
||||
if [ "$UBUNTU_CODENAME" = "precise" ]; then
|
||||
|
|
Loading…
Reference in New Issue