mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29909 from abednarik/freebsd_pkgng_non_interactive_fix
FreeBSD pkgng fix for non-interactive install.
This commit is contained in:
commit
ad0de4d563
1 changed files with 1 additions and 3 deletions
|
@ -730,7 +730,7 @@ def install(name=None,
|
|||
if pkg_params is None or len(pkg_params) == 0:
|
||||
return {}
|
||||
|
||||
opts = ''
|
||||
opts = 'y'
|
||||
repo_opts = ''
|
||||
if salt.utils.is_true(orphan):
|
||||
opts += 'A'
|
||||
|
@ -742,8 +742,6 @@ def install(name=None,
|
|||
opts += 'U'
|
||||
if salt.utils.is_true(dryrun):
|
||||
opts += 'n'
|
||||
if not salt.utils.is_true(dryrun):
|
||||
opts += 'y'
|
||||
if salt.utils.is_true(quiet):
|
||||
opts += 'q'
|
||||
if salt.utils.is_true(reinstall_requires):
|
||||
|
|
Loading…
Add table
Reference in a new issue