mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
If a specific repo is requested, force the instalation. Otherwise, zypper asks interactively whether the vendor is to be changed.
This commit is contained in:
parent
17ca2aeac2
commit
4c3b91df50
@ -343,7 +343,7 @@ def install(name=None,
|
||||
old = list_pkgs()
|
||||
downgrades = []
|
||||
if fromrepo:
|
||||
fromrepoopt = "--from {0} ".format(fromrepo)
|
||||
fromrepoopt = "--force --force-resolution --from {0} ".format(fromrepo)
|
||||
log.info('Targeting repo {0!r}'.format(fromrepo))
|
||||
else:
|
||||
fromrepoopt = ""
|
||||
|
Loading…
Reference in New Issue
Block a user