Merge pull request #1608 from jpasher-lazor/add_openmandriva

Add detection for OpenMandriva Lx
This commit is contained in:
Michael Boelen 2025-08-01 08:29:57 +00:00 committed by GitHub
commit 7c7d100d62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -400,6 +400,12 @@
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 '"')
;;
"openmandriva")
LINUX_VERSION="OpenMandriva Lx"
OS_NAME="OpenMandriva Lx"
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 '"')
;;
"opensuse-tumbleweed")
LINUX_VERSION="openSUSE Tumbleweed"
# It's rolling release but has a snapshot version (the date of the snapshot)