1
0

fix: ignore file conflicts

This commit is contained in:
dump_stack() 2023-06-17 09:16:48 +00:00
parent 0c16dc02dc
commit 312e708116
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -168,8 +168,8 @@ func (suse OpenSUSE) Install(version string, headers bool) (err error) {
commands = append(commands, fmt.Sprintf(f, s...))
}
installcmd := "zypper --no-refresh -n " +
"install --no-recommends --force-resolution --capability"
installcmd := "zypper --no-refresh -n install " +
"--replacefiles --no-recommends --force-resolution --capability"
cmdf("%s kernel-default=%s", installcmd, version)
if headers {
cmdf("%s kernel-default-devel=%s", installcmd, version)