fix: always use the next command because dpkg returns error if deps not met
This commit is contained in:
parent
c0603404a8
commit
82ba7bd7af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user