1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00

fix typo, thanks Mikachu

This commit is contained in:
Matt Hamilton 2015-12-16 00:35:12 -05:00
parent d916ad2967
commit 2a4e052939

View file

@ -18,9 +18,7 @@ if [[ ${zpacman_frontend} == 'auto' ]]; then
else else
zpacman_frontend='pacman' zpacman_frontend='pacman'
fi fi
elif (( ! $+zpacman_fontend )); then elif (( ! $+zpacman_frontend )); then
# this conditional is broken, for unknown reasons.
# it should test if zpacman_frontend is set, but is hit regardless of if it is set or not.
zpacman_frontend='pacman' zpacman_frontend='pacman'
elif (( ! $+commands[${zpacman_frontend}] )); then elif (( ! $+commands[${zpacman_frontend}] )); then
print "pacman frontend \"${zpacman_frontend}\" is invalid or not installed. Reverting to \"pacman\"." >&2 print "pacman frontend \"${zpacman_frontend}\" is invalid or not installed. Reverting to \"pacman\"." >&2