From db0fb0a21d54c9b67c13ac61399f7c76f0f8dfa2 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sun, 13 Mar 2022 09:57:09 -0700 Subject: [PATCH] Support more locales --- installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer b/installer index 90093b6..c6e066b 100755 --- a/installer +++ b/installer @@ -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)