Fix quick install script not detecting Debian version correctly

This commit is contained in:
Greg Lin 2022-08-10 18:39:57 -05:00
commit 79bd3a378f

View file

@ -110,7 +110,7 @@ detect_os_version () {
cat /etc/os-release | grep -e "^VERSION_ID\=*" | cut -f 2 -d '=' | sed -e 's/"//g'
fi
fi
if [[ "${os}" == "Ubuntu" ]]; then
if [[ "${os}" == "Ubuntu" ]] || [[ "${os}" == "Debian" ]]; then
cat /etc/os-release | grep -e "^VERSION_ID\=*" | cut -f 2 -d '=' | sed -e 's/[".]//g'
fi
if [[ "${os}" == "SLES15" ]] || [[ "${os}" == "LEAP15" ]]; then