Update osdetection - add support for OSMC

Add detection support for OSMC.
This commit is contained in:
Erasure5959 2024-03-18 15:21:27 +02:00 committed by GitHub
parent f5b85c65e9
commit 6f81b6502b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"