Skip to content

Commit

Permalink
Merge pull request #1356 from N1neSun/patch-1
Browse files Browse the repository at this point in the history
fix some kylin linux bug
  • Loading branch information
shirou committed Feb 12, 2023
2 parents 0494d7f + add9158 commit e563e63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/host_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e563e63

Please sign in to comment.