1
0
Fork 0

fix: do not match generic-pae

timestamps
dump_stack() 2023-05-22 06:56:12 +00:00
parent e1dd7c18be
commit d507b86373
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func (u Ubuntu) Packages() (pkgs []string, err error) {
}
cmd := "apt-cache search " +
"--names-only '^linux-image-[0-9\\.\\-]*-generic' " +
"--names-only '^linux-image-[0-9\\.\\-]*-generic$' " +
"| awk '{ print $1 }'"
output, err := c.Run(config.Dir("tmp"), cmd)