From 34d99f72f6f55053ba445847568d88eeeee1ff59 Mon Sep 17 00:00:00 2001 From: Skia Date: Thu, 17 Mar 2022 23:28:34 +0100 Subject: [PATCH] osdetection: add PostmarketOS --- include/osdetection | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/osdetection b/include/osdetection index d9b8a41c..29c3e69e 100644 --- a/include/osdetection +++ b/include/osdetection @@ -337,6 +337,13 @@ OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="Pop!_OS" ;; + "postmarketos") + LINUX_VERSION="PostmarketOS" + LINUX_VERSION_LIKE="Alpine" + OS_NAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + 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 '"') + ;; "pureos") LINUX_VERSION="PureOS" LINUX_VERSION_LIKE="Debian"