From 28bd36d9c6d0d695f0b92459407cf11a91411694 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 4 Mar 2020 15:09:10 +0100 Subject: [PATCH] Added Fedora --- include/osdetection | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/osdetection b/include/osdetection index dc6eacae..5d65aa51 100644 --- a/include/osdetection +++ b/include/osdetection @@ -173,9 +173,15 @@ ;; "debian") LINUX_VERSION="Debian" + OS_NAME="Debian" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') - OS_NAME="Debian" + ;; + "fedora") + LINUX_VERSION="Fedora" + OS_NAME="Fedora Linux" + OS_REDHAT_OR_CLONE=1 + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') ;; "pureos") LINUX_VERSION="PureOS"