From aac5ad09d85323f8ea441070c3030ccb6ac18dab Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 30 Aug 2024 21:56:31 +0200 Subject: [PATCH] fix/lang,locale --- spcd/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index de7ccb3..3738e5b 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1179,7 +1179,7 @@ ${spcd_step__pil__locale}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET} "${SPCD_PM_DNF}") for spcd_step__pil__locale in "${@}"; do spcd_step__pil__lang="$( - echo "${spcd_step__pil__locale}" | cut -d _ -f 2 + echo "${spcd_step__pil__locale}" | cut -d _ -f 1 )" spcd_install_package "glibc-langpack-${spcd_step__pil__lang}" done @@ -1188,6 +1188,7 @@ ${spcd_step__pil__locale}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET} "${SPCD_PM_ZYPPER}") spcd_install_package "glibc-locale" ;; *) ;; esac + spcd_txt_locale "${SPCD_TXT_LANGUAGE}" } spcd_step__packages_upgrade_system() {