Merge pull request #1662 from saez0pub/devel

Prevent reinstallation in case of group package
reviewable/pr18780/r1
René Moser 9 years ago
commit af9aaed64c

@ -234,7 +234,7 @@ def install_packages(module, pacman_path, state, packages, package_files):
else: else:
params = '-S %s' % package params = '-S %s' % package
cmd = "%s %s --noconfirm" % (pacman_path, params) cmd = "%s %s --noconfirm --needed" % (pacman_path, params)
rc, stdout, stderr = module.run_command(cmd, check_rc=False) rc, stdout, stderr = module.run_command(cmd, check_rc=False)
if rc != 0: if rc != 0:

Loading…
Cancel
Save