188 support distribution linux mint (#189)

This commit is contained in:
admin_3.exe
2019-08-10 03:42:02 +03:00
committed by Lea Anthony
parent 3ff16322c2
commit cdc66b556e
4 changed files with 16 additions and 3 deletions

View File

@@ -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
}