1
0

fix: always use the next command because dpkg returns error if deps not met

This commit is contained in:
dump_stack() 2023-05-14 22:34:46 +00:00
parent c0603404a8
commit 82ba7bd7af
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -421,7 +421,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
strings.Replace(pkg.Deb.URL, "https", "http", -1))
}
cmd += fmt.Sprintf(" && dpkg -i ./*deb && apt-get -fy install")
cmd += fmt.Sprintf(" && dpkg -i ./*deb ; apt-get -fy install")
default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
return