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

View file

@ -1161,6 +1161,9 @@ spcd_step__packages_verify_https() {
spcd_step__packages_install_locales() { spcd_step__packages_install_locales() {
spcd_step "Install locales" spcd_step "Install locales"
set -- \
"${SPCD_TXT_LANGUAGE_ENGLISH}" \
"${SPCD_TXT_LANGUAGE_FRENCH}"
case "${SPCD_PM}" in case "${SPCD_PM}" in
"${SPCD_PM_APK}") spcd_install_package "musl-locales" ;; "${SPCD_PM_APK}") spcd_install_package "musl-locales" ;;
"${SPCD_PM_APT}") "${SPCD_PM_APT}")
@ -1381,9 +1384,6 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
# ╰──────╯ # ╰──────╯
spcd_main() { spcd_main() {
set -- \
"${SPCD_TXT_LANGUAGE_ENGLISH}" \
"${SPCD_TXT_LANGUAGE_FRENCH}"
# environment # environment
spcd_txt_locale spcd_txt_locale
# #
@ -1417,7 +1417,7 @@ spcd_main() {
# packages # packages
spcd_step_in "Packages" spcd_step_in "Packages"
spcd_step__packages_verify_https spcd_step__packages_verify_https
spcd_step__packages_install_locales "${@}" spcd_step__packages_install_locales
spcd_step__packages_update_catalog spcd_step__packages_update_catalog
spcd_step__packages_upgrade_system spcd_step__packages_upgrade_system
spcd_step__packages_install_dos2unix spcd_step__packages_install_dos2unix