Add EndeavourOS to osdetection.

Fixes problem #1077
This commit is contained in:
ElviaSchoultz 2020-11-24 08:45:58 +11:00 committed by GitHub
parent 22a9fe7037
commit d5d43c5d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -190,6 +190,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 '"')
;;
"endeavouros")
LINUX_VERSION="EndeavourOS"
OS_NAME="EndeavourOS"
OS_VERSION="Rolling release"
OS_VERSION_FULL="Rolling release"
;;
"fedora")
LINUX_VERSION="Fedora"
OS_NAME="Fedora Linux"