Check for utf8 as well as UTF-8 in LANG
This commit is contained in:
parent
d99b2a759f
commit
51cee6cf6c
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ PACMAN_ABORT_ON_FAIL="no"
|
|||
if [[ "$TERM" == "linux" ]]; then
|
||||
checkmark="done"
|
||||
# Ensure user is using UTF locale
|
||||
elif [[ $(awk '/UTF-8/' <(echo $LANG)) ]]; then
|
||||
elif [[ $(awk '/UTF-8|utf8/' <(echo $LANG)) ]]; then
|
||||
checkmark="✓"
|
||||
else
|
||||
checkmark="done"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue