fix typo, thanks Mikachu
This commit is contained in:
parent
d916ad2967
commit
2a4e052939
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ if [[ ${zpacman_frontend} == 'auto' ]]; then
|
|||
else
|
||||
zpacman_frontend='pacman'
|
||||
fi
|
||||
elif (( ! $+zpacman_fontend )); 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.
|
||||
elif (( ! $+zpacman_frontend )); then
|
||||
zpacman_frontend='pacman'
|
||||
elif (( ! $+commands[${zpacman_frontend}] )); then
|
||||
print "pacman frontend \"${zpacman_frontend}\" is invalid or not installed. Reverting to \"pacman\"." >&2
|
||||
|
|
Loading…
Reference in a new issue