Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2020-06-27 14:30:10 +0300
committerGitHub <noreply@github.com>2020-06-27 14:30:10 +0300
commitb35e99a0b6b781e3526d806cf90560a1253fb20d (patch)
treed2a061ad5bf1811693209462475bb97cd0cf5de1
parent73ee7d998565c3c365af670b3dd136ca39d26981 (diff)
parent5b11c468ebcfee6f4fb28eee1d2070188d4411b5 (diff)
Merge pull request #970 from chrislynch8/chrislynch8
Fix for Issues #964 - Pop!_OS added to osdetection
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index f4d3b50d..ac099bde 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -217,6 +217,12 @@
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="openSUSE"
;;
+ "pop")
+ LINUX_VERSION="Pop!_OS"
+ 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="Pop!_OS"
+ ;;
"pureos")
LINUX_VERSION="PureOS"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')