1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

[pacman] Add pikaur to list of AUR helpers that handle SUID

`pikaur` (https://github.com/actionless/pikaur) handles sudo
authentication itself.

Closes #302
This commit is contained in:
Bryan Hyshka 2018-10-19 07:32:34 -06:00 committed by Eric Nielsen
parent 364d6b831d
commit 60b0910f6d

View file

@ -24,7 +24,7 @@ elif (( ! ${+commands[${zpacman_frontend}]} )); then
You can fix this error by editing the 'zpacman_frontend' variable in your .zimrc" >&2 You can fix this error by editing the 'zpacman_frontend' variable in your .zimrc" >&2
zpacman_frontend='pacman' zpacman_frontend='pacman'
zpacman_frontend_priv='sudo pacman' zpacman_frontend_priv='sudo pacman'
elif [[ ${zpacman_frontend} == ("yaourt"|"pacaur"|"yay") ]]; then elif [[ ${zpacman_frontend} == ("yaourt"|"pacaur"|"yay"|"pikaur") ]]; then
# those AUR helpers handle SUID themselves # those AUR helpers handle SUID themselves
zpacman_frontend_priv="${zpacman_frontend}" zpacman_frontend_priv="${zpacman_frontend}"
else else