This commit is contained in:
Sebastian S 2018-06-21 20:10:00 +00:00 committed by GitHub
commit eb347facd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ 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") ]]; then
# yaourt and pacaur handles SUID themselves
elif [[ ${zpacman_frontend} == ("yaourt"|"pacaur"|"yay") ]]; then
# those AUR helpers handle SUID themselves
zpacman_frontend_priv="${zpacman_frontend}"
else
zpacman_frontend_priv="sudo ${zpacman_frontend}"