Merge pull request #45533 from rallytime/bp-45529

Back-port #45529 to 2017.7.3
This commit is contained in:
Nicole Thomas 2018-01-18 17:52:28 -05:00 committed by GitHub
commit 8ad65e3359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -538,6 +538,7 @@ def install(name=None,
cmd.extend(['systemd-run', '--scope'])
cmd.append('pacman')
targets = []
errors = []
if pkg_type == 'file':
cmd.extend(['-U', '--noprogressbar', '--noconfirm'])
@ -549,7 +550,6 @@ def install(name=None,
if sysupgrade:
cmd.append('-u')
cmd.extend(['--noprogressbar', '--noconfirm', '--needed'])
targets = []
wildcards = []
for param, version_num in six.iteritems(pkg_params):
if version_num is None: