mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Insert --no-refresh before install in Zypper.
Instead of appending --no-refresh after install, this will insert --no--refresh as the first element of the list.
This commit is contained in:
parent
daf462e430
commit
7c909a1d7f
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ def install(name=None,
|
|||
fromrepoopt = ''
|
||||
cmd_install = ['install', '--name', '--auto-agree-with-licenses']
|
||||
if not refresh:
|
||||
cmd_install.append('--no-refresh')
|
||||
cmd_install.insert(0, '--no-refresh')
|
||||
if skip_verify:
|
||||
cmd_install.append('--no-gpg-checks')
|
||||
if downloadonly:
|
||||
|
|
Loading…
Add table
Reference in a new issue