From aac5e65650b52bf058568f988225c23d4db16a3a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 4 Sep 2024 15:27:21 +0200 Subject: [PATCH] fix locales --- spcd/bootstrap.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 75a09f1..38dd88d 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -940,6 +940,7 @@ ${name}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET} " done spcd_os_write "/etc/locale.gen" "${text}" + spcd_install_package "locales" ;; "${SPCD_PM_DNF}") local language @@ -1286,20 +1287,7 @@ spcd_step__packages_verify_https() { spcd_step__packages_install_locales() { spcd_step "Install locales" - case "${SPCD_PM}" in - "${SPCD_PM_APK}") spcd_install_package "musl-locales" ;; - "${SPCD_PM_APT}") - spcd_txt_locales "locale.gen" - spcd_install_package "locales" - ;; - "${SPCD_PM_DNF}") - spcd_txt_locales "glibc-langpack-" - ;; - "${SPCD_PM_PACMAN}") spcd_install_package "glibc-locales" ;; - "${SPCD_PM_ZYPPER}") spcd_install_package "glibc-locale" ;; - *) ;; - esac - spcd_txt_locales "LANGUAGE" + spcd_txt_locales "install" spcd_txt_locale "set" "${SPCD_TXT_LOCALE}" }