Merge pull request #1356 from N1neSun/patch-1

fix some kylin linux bug
pull/1417/head
shirou 2 years ago committed by GitHub
commit e563e6394e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,6 +207,9 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
} else if lsb.ID == "LinuxMint" {
platform = "linuxmint"
version = lsb.Release
} else if lsb.ID == "Kylin" {
platform = "Kylin"
version = lsb.Release
} else {
if common.PathExistsWithContents("/usr/bin/raspi-config") {
platform = "raspbian"

Loading…
Cancel
Save