ensure UTF font is used
This commit is contained in:
parent
01d4af9e3e
commit
6594945ecf
1 changed files with 4 additions and 1 deletions
|
|
@ -32,8 +32,11 @@ PACMAN_ABORT_ON_FAIL="no"
|
||||||
# Virtual console fonts don't have the unicode checkmark
|
# Virtual console fonts don't have the unicode checkmark
|
||||||
if [[ "$TERM" == "linux" ]]; then
|
if [[ "$TERM" == "linux" ]]; then
|
||||||
checkmark="done"
|
checkmark="done"
|
||||||
else
|
# Ensure user is using UTF locale
|
||||||
|
elif [[ $(awk '/UTF-8/' <(echo $LANG)) ]]; then
|
||||||
checkmark="✓"
|
checkmark="✓"
|
||||||
|
else
|
||||||
|
checkmark="done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "$SNAPPER_CONFIG_FILE" ]]; then
|
if [[ -f "$SNAPPER_CONFIG_FILE" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue