1
0

Fix regexp

This commit is contained in:
dump_stack() 2023-05-11 21:35:20 +00:00
parent 20cbd2f72e
commit bef382920e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -34,7 +34,7 @@ var (
func GetDebianKernel(version string) (dk DebianKernel, err error) {
dk.Version.Package = version
regex := `^linux-(image|headers)-[bporcexp~0-9\.\-]*-(amd64|amd64-unsigned)$`
regex := `^linux-(image|headers)-[bporcexp+~0-9\.\-]*-(amd64|amd64-unsigned)$`
packages, err := snapshot.Packages("linux", version, "amd64", regex)
if err != nil {