From 63d3056a822a80fed64f3a40e3077d963f455d8e Mon Sep 17 00:00:00 2001 From: jp1995 Date: Fri, 7 Jul 2023 18:15:52 +0300 Subject: [PATCH] fix for issue #77 --- plugins/modules/aur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/aur.py b/plugins/modules/aur.py index 50284cc..a391b65 100644 --- a/plugins/modules/aur.py +++ b/plugins/modules/aur.py @@ -283,7 +283,7 @@ def install_packages(module, packages, use, extra_args, state, skip_pgp_check, i command.append(package) rc, out, err = module.run_command(command, check_rc=True) - changed_iter = changed_iter or not (out == '' or '-- skipping' in out or 'nothing to do' in out.lower()) + changed_iter = changed_iter or not (out == '' or 'up-to-date -- skipping' in out or 'nothing to do' in out.lower()) message = 'installed package(s)' if changed_iter else 'package(s) already installed'