Support more locales
This commit is contained in:
parent
8fd50ac55f
commit
db0fb0a21d
@ -6,7 +6,7 @@
|
||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||
|
||||
# shellcheck disable=2086,2046,2254,2164,2030,2031
|
||||
VER=2.15
|
||||
VER=2.16
|
||||
|
||||
# default values {
|
||||
|
||||
@ -29,7 +29,7 @@ DBG=/tmp/debuglog # debug log file when passed -d
|
||||
|
||||
VIRT="$(systemd-detect-virt)"
|
||||
MEM="$(awk '/MemTotal/ {print int($2 / 1024) "M"}' /proc/meminfo)"
|
||||
LOCALES="$(awk '/\.UTF-8/ {gsub(/# .*|#/, ""); if ($1) {print $1 " - "}}' /etc/locale.gen)"
|
||||
LOCALES="$(awk '/UTF-8/ {gsub(/# .*|#/, ""); if ($1) {print $1 " - "}}' /etc/locale.gen)"
|
||||
CMAPS="$(find /usr/share/kbd/keymaps -name '*.map.gz' | awk '{gsub(/\.map\.gz|.*\//, ""); print $1 " - "}' | sort)"
|
||||
|
||||
[[ $LINES ]] || LINES=$(tput lines)
|
||||
|
Reference in New Issue
Block a user