mirror of
https://github.com/kewlfft/ansible-aur.git
synced 2025-07-27 14:03:51 +03:00
Added paru
as a helper option
This commit is contained in:
@@ -43,7 +43,7 @@ options:
|
||||
description:
|
||||
- The tool to use, 'auto' uses the first known helper found and makepkg as a fallback.
|
||||
default: auto
|
||||
choices: [ auto, yay, pacaur, trizen, pikaur, aurman, makepkg ]
|
||||
choices: [ auto, yay, paru, pacaur, trizen, pikaur, aurman, makepkg ]
|
||||
|
||||
extra_args:
|
||||
description:
|
||||
@@ -104,6 +104,7 @@ def_lang = ['env', 'LC_ALL=C']
|
||||
|
||||
use_cmd = {
|
||||
'yay': ['yay', '-S', '--noconfirm', '--needed', '--cleanafter'],
|
||||
'paru': ['paru', '-S', '--noconfirm', '--needed', '--cleanafter'],
|
||||
'pacaur': ['pacaur', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
'trizen': ['trizen', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
'pikaur': ['pikaur', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
@@ -116,7 +117,7 @@ use_cmd_local_pkgbuild = {
|
||||
'makepkg': ['makepkg', '--syncdeps', '--install', '--noconfirm', '--needed']
|
||||
}
|
||||
|
||||
has_aur_option = ['yay', 'pacaur', 'trizen', 'pikaur', 'aurman']
|
||||
has_aur_option = ['yay', 'paru', 'pacaur', 'trizen', 'pikaur', 'aurman']
|
||||
|
||||
|
||||
def package_installed(module, package):
|
||||
|
Reference in New Issue
Block a user