1
0

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

This commit is contained in:
2023-05-14 22:34:46 +00:00
parent c0603404a8
commit 82ba7bd7af

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