From 17616e78e15bd9c3aa3b42a46ba802fb673f7362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20F=2E=20Zulian?= Date: Thu, 26 Jul 2018 14:39:14 +0200 Subject: [PATCH] improvement --- utils/install_deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/install_deb.sh b/utils/install_deb.sh index 4580f7c6..975f33bd 100755 --- a/utils/install_deb.sh +++ b/utils/install_deb.sh @@ -33,7 +33,7 @@ # Author: Éder F. Zulian # Check distro. This script supports Debian/Ubuntu -distro=`lsb_release -a | grep "Distributor ID:" | awk {'print $3'}` +distro=`lsb_release -is` if [ "$distro" != "Debian" ] && [ "$distro" != "Ubuntu" ]; then echo -e "Error unsupported distribution (${distro}). This script supports Debian/Ubuntu." 1>&2 exit 1