From f12cb1b36ba938724893de55e8cfb6715ddff2ac Mon Sep 17 00:00:00 2001 From: Assaf Sapir Date: Thu, 21 Oct 2021 19:49:24 +0300 Subject: [PATCH] Fix parameter --- plugins/modules/aur.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/aur.py b/plugins/modules/aur.py index d35deb5..5adefef 100644 --- a/plugins/modules/aur.py +++ b/plugins/modules/aur.py @@ -183,7 +183,7 @@ def build_command_prefix(use, extra_args, skip_pgp_check=False, ignore_arch=Fals if local_pkgbuild and use != 'makepkg': command.append(local_pkgbuild) if refresh: - command.append('--refresh') + command.append('-y') if extra_args: command += shlex.split(extra_args) return command @@ -247,7 +247,7 @@ def upgrade(module, use, extra_args, aur_only, refresh): assert use in use_cmd command = build_command_prefix(use, extra_args, aur_only=aur_only, refresh=refresh) - command.append('--upgrade') + command.append('-u') rc, out, err = module.run_command(command, check_rc=True)