fix: do not match generic-pae
This commit is contained in:
parent
e1dd7c18be
commit
d507b86373
@ -55,7 +55,7 @@ func (u Ubuntu) Packages() (pkgs []string, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd := "apt-cache search " +
|
cmd := "apt-cache search " +
|
||||||
"--names-only '^linux-image-[0-9\\.\\-]*-generic' " +
|
"--names-only '^linux-image-[0-9\\.\\-]*-generic$' " +
|
||||||
"| awk '{ print $1 }'"
|
"| awk '{ print $1 }'"
|
||||||
|
|
||||||
output, err := c.Run(config.Dir("tmp"), cmd)
|
output, err := c.Run(config.Dir("tmp"), cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user