diff --git a/init.sh b/init.sh index db01617..d3063a3 100644 --- a/init.sh +++ b/init.sh @@ -1,5 +1,5 @@ get_distro() { - OS=$(cat /etc/*release | grep ID | head -1 | cut -c 4-) + OS=$(cat /etc/*release | grep "^ID=" | head -1 | cut -c 4-) echo $OS }