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() {