Merge pull request #439 from rramthun/portage-remove-ask-on-sync
disable ask on sync operation
This commit is contained in:
commit
495ad450e5
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ def sync_repositories(module, webrsync=False):
|
||||||
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)
|
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)
|
||||||
cmd = '%s --quiet' % webrsync_path
|
cmd = '%s --quiet' % webrsync_path
|
||||||
else:
|
else:
|
||||||
cmd = '%s --sync --quiet' % module.emerge_path
|
cmd = '%s --sync --quiet --ask=n' % module.emerge_path
|
||||||
|
|
||||||
rc, out, err = module.run_command(cmd)
|
rc, out, err = module.run_command(cmd)
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
|
|
Loading…
Reference in a new issue