diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-12-26 17:36:36 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-12-26 17:36:36 +0300 |
commit | fa69256f459ee55571c6ac2bb4f4e2ba3ec38665 (patch) | |
tree | 9bdf413e847c7b4032e110be5b73b915275d4941 | |
parent | 0c9ae15d069ed7d50ee0a7305c3fe1510cef90cd (diff) |
Added support for Parrot GNU/Linux
-rw-r--r-- | include/osdetection | 6 |
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 '"') |