Prevent reinstallation in case of group package
This commit is contained in:
parent
b51efc51bc
commit
6c7be7d97d
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ def install_packages(module, pacman_path, state, packages, package_files):
|
|||
else:
|
||||
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)
|
||||
|
||||
if rc != 0:
|
||||
|
|
Loading…
Reference in a new issue