diff --git a/README.md b/README.md index 8ec4a7a5f..c0d0d560c 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Make sure you have the xcode command line tools installed. This can be done by r ### Linux -#### Debian 9, Ubuntu 18.04, Zorin 15, Parrot 4.7 +#### Debian 9, Ubuntu 18.04, Zorin 15, Parrot 4.7, Linuxmint 19 `sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev` diff --git a/cmd/linux.go b/cmd/linux.go index c5b22a60d..766d68f00 100644 --- a/cmd/linux.go +++ b/cmd/linux.go @@ -33,6 +33,8 @@ const ( Zorin // Parrot distribution Parrot + // Linuxmint distribution + Linuxmint ) // DistroInfo contains all the information relating to a linux distribution @@ -107,6 +109,8 @@ func parseOsRelease(osRelease string) *DistroInfo { result.Distribution = Zorin case "parrot": result.Distribution = Parrot + case "linuxmint": + result.Distribution = Linuxmint default: result.Distribution = Unknown } diff --git a/cmd/linuxdb.yaml b/cmd/linuxdb.yaml index d4a857ec9..6b6bbd81b 100644 --- a/cmd/linuxdb.yaml +++ b/cmd/linuxdb.yaml @@ -46,6 +46,15 @@ distributions: gccversioncommand: *gccdumpversion programs: *debiandefaultprograms libraries: *debiandefaultlibraries + linuxmint: + id: linuxmint + releases: + default: + version: default + name: Linuxmint + gccversioncommand: *gccdumpversion + programs: *debiandefaultprograms + libraries: *debiandefaultlibraries centos: id: centos releases: @@ -119,4 +128,4 @@ distributions: - name: pkg-config help: Please install using your system's package manager - name: npm - help: Please install using your system's package manager + help: Please install using your system's package manager \ No newline at end of file diff --git a/cmd/system.go b/cmd/system.go index c70e7a833..511c6c77e 100644 --- a/cmd/system.go +++ b/cmd/system.go @@ -272,7 +272,7 @@ func CheckDependencies(logger *Logger) (bool, error) { distroInfo := GetLinuxDistroInfo() for _, library := range *requiredLibraries { switch distroInfo.Distribution { - case Ubuntu, Debian, Zorin, Parrot: + case Ubuntu, Debian, Zorin, Parrot, Linuxmint: installed, err := DpkgInstalled(library.Name) if err != nil { return false, err