readme updated with auto functionning

pull/1/head
alex 2017-12-24 08:26:57 +01:00
parent 843233987a
commit 117b79b070
2 changed files with 3 additions and 3 deletions

View File

@ -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)

2
aur.py
View File

@ -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'],
}