From 79bd3a378fb122c25a105e60df14eba12f4ff368 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Wed, 10 Aug 2022 18:39:57 -0500 Subject: [PATCH] Fix quick install script not detecting Debian version correctly --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3ba156d..42adb1d 100755 --- a/install.sh +++ b/install.sh @@ -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