mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
scripts/checkdeps: use bash native lowercase
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user