From 6306c6a654ef18c4eb8a393d3ce5852cdd52b41d Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Thu, 23 Nov 2017 09:03:25 +0200 Subject: [PATCH] scripts/checkdeps: use bash native lowercase --- scripts/checkdeps | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)