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-12-26 17:36:36 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-12-26 17:36:36 +0300
commitfa69256f459ee55571c6ac2bb4f4e2ba3ec38665 (patch)
tree9bdf413e847c7b4032e110be5b73b915275d4941 /include/osdetection
parent0c9ae15d069ed7d50ee0a7305c3fe1510cef90cd (diff)
Added support for Parrot GNU/Linux
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 1596ed10..2d706428 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -270,6 +270,12 @@
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="openSUSE"
;;
+ "parrot")
+ LINUX_VERSION="Parrot"
+ OS_NAME="Parrot GNU/Linux"
+ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
"pop")
LINUX_VERSION="Pop!_OS"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')