pull/79/merge
11xx 2023-09-28 08:38:42 +00:00 committed by GitHub
commit ee182ddaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
plugins/modules/aur.py Normal file → Executable file
View File

@ -106,7 +106,7 @@ EXAMPLES = '''
become_user: aur_builder
'''
def_lang = ['env', 'LC_ALL=C', 'LANGUAGE=C']
env = ['env']
use_cmd = {
'yay': ['yay', '-S', '--noconfirm', '--needed', '--cleanafter'],
@ -161,9 +161,9 @@ def build_command_prefix(use, extra_args, skip_pgp_check=False, ignore_arch=Fals
Create the prefix of a command that can be used by the install and upgrade functions.
"""
if local_pkgbuild:
command = def_lang + use_cmd_local_pkgbuild[use]
command = env + use_cmd_local_pkgbuild[use]
else:
command = def_lang + use_cmd[use]
command = env + use_cmd[use]
if skip_pgp_check:
command.append('--skippgpcheck')
if ignore_arch: