From 0946f44c709da3c9d2534b9c4b3f7409df9f4e5d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 11 Apr 2019 21:22:18 -0500 Subject: [PATCH] Support ElementaryOS --- public/detect_linux.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/detect_linux.sh b/public/detect_linux.sh index ea0f5ef..122681e 100644 --- a/public/detect_linux.sh +++ b/public/detect_linux.sh @@ -14,6 +14,14 @@ elif [ -f /etc/lsb-release ]; then DISTNAME=ubuntu DISTVER=18.04 fi + elif [ "$DISTNAME" = "elementary" ]; then + if [ "$DISTVER" = "5.0" ]; then + DISTNAME=ubuntu + DISTVER=18.04 + fi + else + DISTNAME=unknown + DISTVER= fi elif [ -f /etc/debian_version ]; then DISTNAME=debian