diff --git a/README.md b/README.md index 21fe5e7..e2c7468 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ansible AUR package manager -Ansible module to use some AUR helpers. The following helpers are supported: -- [pacaur](https://github.com/rmarquis/pacaur) (default) +Ansible module to use some AUR helpers. The following helpers are supported and automatically selected following the below order: +- [pacaur](https://github.com/rmarquis/pacaur) - [trizen](https://github.com/trizen/trizen) - [yaourt](https://github.com/archlinuxfr/yaourt) - [yay](https://github.com/Jguer/yay) diff --git a/aur.py b/aur.py index 6efa8df..361714c 100644 --- a/aur.py +++ b/aur.py @@ -4,8 +4,8 @@ from ansible.module_utils.basic import * helper_cmd = { - 'trizen': ['env', 'LC_ALL=C', 'trizen', '-S', '--noconfirm', '--noedit', '--needed', '--aur'], 'pacaur': ['env', 'LC_ALL=C', 'pacaur', '-S', '--noconfirm', '--noedit', '--needed', '--aur'], + 'trizen': ['env', 'LC_ALL=C', 'trizen', '-S', '--noconfirm', '--noedit', '--needed', '--aur'], 'yaourt': ['env', 'LC_ALL=C', 'yaourt', '-S', '--noconfirm', '--needed'], 'yay': ['env', 'LC_ALL=C', 'yay', '-S', '--noconfirm'], }