215 support distribution kali (#219)

* test: azure pipeline

* fix: azure pipeline yaml

* feat: kali linux support

* feat: kali linux support
This commit is contained in:
Byron
2019-08-30 16:21:54 +03:00
committed by Lea Anthony
parent c10303e7c0
commit 62b1967e45
5 changed files with 14 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ Make sure you have the xcode command line tools installed. This can be done by r
_Debian: 8, 9, 10_
_Ubuntu: 16.04, 18.04, 19.04_
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5_
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali-Rolling_
#### Arch Linux

File diff suppressed because one or more lines are too long

View File

@@ -39,6 +39,8 @@ const (
VoidLinux
// Elementary distribution
Elementary
// Kali distribution
Kali
)
// DistroInfo contains all the information relating to a linux distribution

View File

@@ -28,6 +28,15 @@ distributions:
gccversioncommand: &gccdumpfullversion -dumpfullversion
programs: *debiandefaultprograms
libraries: *debiandefaultlibraries
kali:
id: kali
releases:
default:
version: default
name: Kali GNU/Linux
gccversioncommand: *gccdumpfullversion
programs: *debiandefaultprograms
libraries: *debiandefaultlibraries
parrot:
id: parrot
releases:

View File

@@ -274,7 +274,7 @@ func CheckDependencies(logger *Logger) (bool, error) {
distroInfo := GetLinuxDistroInfo()
switch distroInfo.Distribution {
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary:
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali:
libraryChecker = DpkgInstalled
case Arch:
libraryChecker = PacmanInstalled