From d1527d501483b128041eac35851e0f48e35d789e Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 29 Nov 2022 10:53:16 +0100 Subject: [PATCH] fix generate locales --- usr/bin/archboot-setup.sh | 1 + usr/lib/archboot/installer/configuration.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index bc90ab6be..440f3045c 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -137,6 +137,7 @@ configure_system() { elif [[ "${FILE}" = "/etc/locale.gen" ]]; then # non-file set_locale ${EDITOR} "${DESTDIR}""${FILE}" + run_locale_gen elif [[ "${FILE}" = "Root-Password" ]]; then # non-file set_password else #regular file diff --git a/usr/lib/archboot/installer/configuration.sh b/usr/lib/archboot/installer/configuration.sh index 1c8e6e777..15a4bfedb 100644 --- a/usr/lib/archboot/installer/configuration.sh +++ b/usr/lib/archboot/installer/configuration.sh @@ -59,11 +59,10 @@ set_locale() { SET_LOCALE="1" sleep 2 _auto_set_locale + run_locale_gen else _auto_set_locale - ${EDITOR} "${DESTDIR}""${FILE}" fi - run_locale_gen } set_password() {