Merge pull request #1080 from ElviaSchoultz/patch-1

Add EndeavourOS to osdetection.
This commit is contained in:
Michael Boelen 2020-12-15 14:09:15 +01:00 committed by GitHub
commit b9f88181f3
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=$(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_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") "fedora")
LINUX_VERSION="Fedora" LINUX_VERSION="Fedora"
OS_NAME="Fedora Linux" OS_NAME="Fedora Linux"