Skip to content

Commit 44c41bc

Browse files
authored
Merge pull request #1642 from 0xsimulacra/master
Adds openSUSE Tumbleweed-Slowroll to the list of recognisable os
2 parents 2e24dd0 + 0f31cc1 commit 44c41bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/osdetection

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@
397397
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
398398
OS_NAME="openSUSE"
399399
;;
400+
"opensuse-slowroll")
401+
LINUX_VERSION="openSUSE Tumbleweed-Slowroll"
402+
# It's rolling release but has a snapshot version (the date of the snapshot)
403+
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
404+
OS_NAME="openSUSE"
405+
;;
400406
"opensuse-leap")
401407
LINUX_VERSION="openSUSE Leap"
402408
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')

0 commit comments

Comments
 (0)