From 93a46247bc6f9b5ec9cdba2e427de5d83296b6e6 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sun, 13 Mar 2022 10:07:59 -0700 Subject: [PATCH] Fix: locale setting causing multiple unwanted matches --- installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer b/installer index c6e066b..bebb05a 100755 --- a/installer +++ b/installer @@ -1806,7 +1806,7 @@ install_base() echo "LANG=$LOCALE" > "$MNT/etc/locale.conf" cp -fv "$MNT/etc/locale.conf" "$MNT/etc/default/locale" - sed -i "s/#en_US.UTF-8/en_US.UTF-8/g; s/#${LOCALE}/${LOCALE}/g" "$MNT/etc/locale.gen" + sed -i "s/#en_US.UTF-8/en_US.UTF-8/g; s/#${LOCALE} /${LOCALE} /g" "$MNT/etc/locale.gen" chrun "locale-gen" chrun "ln -svf /usr/share/zoneinfo/$ZONE/$SUBZ /etc/localtime"