diff --git a/scripts/checkdeps b/scripts/checkdeps index 1aaaf96285..81aa639441 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -63,13 +63,15 @@ get_yes_no() } if [ -f /etc/lsb-release ]; then - DISTRO=$(grep DISTRIB_ID /etc/lsb-release | cut -d "=" -f 2 | tr A-Z a-z) + DISTRO=$(grep DISTRIB_ID /etc/lsb-release | cut -d "=" -f 2) fi if [ -f /etc/os-release ]; then - DISTRO=$(grep ^ID= /etc/os-release | cut -d "=" -f 2 | tr A-Z a-z) + DISTRO=$(grep ^ID= /etc/os-release | cut -d "=" -f 2) fi +DISTRO=${DISTRO,,} + deps=(wget bash bc gcc sed patch lsdiff tar bzip2 gzip perl gawk gperf zip unzip diff lzop) deps_pkg=(wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf zip unzip diffutils lzop)