Browse Source

Tools: Update install-prereqs-ubuntu

Add lsb-core check for lsb_release

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
mission-4.1.18
Patrick José Pereira 6 years ago committed by Tom Pittenger
parent
commit
31dbf282cb
  1. 3
      Tools/scripts/install-prereqs-ubuntu.sh

3
Tools/scripts/install-prereqs-ubuntu.sh

@ -66,6 +66,9 @@ if $QUIET; then @@ -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…
Cancel
Save