Merge pull request #1642 from 0xsimulacra/master

Adds openSUSE Tumbleweed-Slowroll to the list of recognisable os
This commit is contained in:
Michael Boelen 2025-07-08 09:11:48 +00:00 committed by GitHub
commit 44c41bc3a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,6 +397,12 @@
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="openSUSE"
;;
"opensuse-slowroll")
LINUX_VERSION="openSUSE Tumbleweed-Slowroll"
# It's rolling release but has a snapshot version (the date of the snapshot)
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="openSUSE"
;;
"opensuse-leap")
LINUX_VERSION="openSUSE Leap"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')