From 6f81b6502b978135ecda8a28c51881cc15daa0be Mon Sep 17 00:00:00 2001 From: Erasure5959 <154384607+Erasure5959@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:21:27 +0200 Subject: [PATCH] Update osdetection - add support for OSMC Add detection support for OSMC. --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index 61f290d7..579538bb 100644 --- a/include/osdetection +++ b/include/osdetection @@ -348,6 +348,12 @@ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="openSUSE" ;; + "osmc") + LINUX_VERSION="OSMC" + LINUX_VERSION_LIKE="Debian" + OS_NAME="Open Source Media Center" + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "parrot") LINUX_VERSION="Parrot" OS_NAME="Parrot GNU/Linux"