feat(gost/ubuntu): check kernel source package more strictly (#1599)

This commit is contained in:
MaineK00n
2023-04-20 13:05:41 +09:00
committed by GitHub
parent fb904f0543
commit 99dc8e892f
4 changed files with 203 additions and 9 deletions

View File

@@ -181,7 +181,7 @@ func (deb Debian) isKernelSourcePackage(pkgname string) bool {
case 1:
return pkgname == "linux"
case 2:
if ss[0] != "liunx" {
if ss[0] != "linux" {
return false
}
switch ss[1] {