fix/lang,locale
Some checks failed
/ arch (push) Successful in 2m37s
/ alpine (push) Successful in 1m52s
/ fedora (push) Successful in 12m14s
/ opensuse (push) Successful in 3m22s
/ alma (push) Successful in 12m35s
/ rocky (push) Successful in 12m37s
/ ubuntu (push) Successful in 7m19s
/ debian (push) Failing after 3m34s

This commit is contained in:
Marc Beninca 2024-08-30 21:56:31 +02:00
parent b7e816b1a6
commit aac5ad09d8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1179,7 +1179,7 @@ ${spcd_step__pil__locale}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET}
"${SPCD_PM_DNF}") "${SPCD_PM_DNF}")
for spcd_step__pil__locale in "${@}"; do for spcd_step__pil__locale in "${@}"; do
spcd_step__pil__lang="$( 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}" spcd_install_package "glibc-langpack-${spcd_step__pil__lang}"
done done
@ -1188,6 +1188,7 @@ ${spcd_step__pil__locale}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET}
"${SPCD_PM_ZYPPER}") spcd_install_package "glibc-locale" ;; "${SPCD_PM_ZYPPER}") spcd_install_package "glibc-locale" ;;
*) ;; *) ;;
esac esac
spcd_txt_locale "${SPCD_TXT_LANGUAGE}"
} }
spcd_step__packages_upgrade_system() { spcd_step__packages_upgrade_system() {