소스 검색

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

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

Closes #302
Bryan Hyshka 6 년 전
부모
커밋
60b0910f6d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/pacman/init.zsh

+ 1 - 1
modules/pacman/init.zsh

@@ -24,7 +24,7 @@ elif (( ! ${+commands[${zpacman_frontend}]} )); then
 You can fix this error by editing the 'zpacman_frontend' variable in your .zimrc" >&2
   zpacman_frontend='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
   zpacman_frontend_priv="${zpacman_frontend}"
 else