diff options
author | Sergey Zhemoitel <djam5@ya.ru> | 2020-10-08 23:06:35 +0300 |
---|---|---|
committer | Sergey Zhemoitel <djam5@ya.ru> | 2020-10-08 23:06:35 +0300 |
commit | 85d36db113fc3584df9ef70b7ec8bb3abf835c45 (patch) | |
tree | 4e50a8f47137f70a8a21f530a9719bc381899978 /include/osdetection | |
parent | 21b5493a1cb679d68e3da15ffdfc4f0a46a76776 (diff) |
Add ROSA Linux detection
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection index 9910b307..66592a8f 100644 --- a/include/osdetection +++ b/include/osdetection @@ -273,6 +273,12 @@ OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="Ubuntu" ;; + "rosa") + LINUX_VERSION="ROSA Linux" + 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 '"') + OS_NAME="ROSA Desktop Fresh R11.1" + ;; *) ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}" ;; |