From 5b11c468ebcfee6f4fb28eee1d2070188d4411b5 Mon Sep 17 00:00:00 2001 From: Chris Lynch Date: Sat, 27 Jun 2020 10:44:31 +0100 Subject: [PATCH] Fix for Issues #964 - Pop!_OS added to osdetection --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index f4d3b50d..ac099bde 100644 --- a/include/osdetection +++ b/include/osdetection @@ -217,6 +217,12 @@ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="openSUSE" ;; + "pop") + LINUX_VERSION="Pop!_OS" + 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="Pop!_OS" + ;; "pureos") LINUX_VERSION="PureOS" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')