Compare commits

..

3 commits

Author SHA1 Message Date
55ba36326c
locales
Some checks failed
/ arch (push) Successful in 2m47s
/ alpine (push) Successful in 1m46s
/ fedora (push) Successful in 13m0s
/ opensuse (push) Successful in 3m48s
/ alma (push) Successful in 12m26s
/ rocky (push) Successful in 13m3s
/ ubuntu (push) Successful in 6m21s
/ debian (push) Failing after 3m37s
2024-09-04 16:42:40 +02:00
8a3986f2b1
locales/earlier 2024-09-04 16:38:16 +02:00
a9c7fa01a7
print 2024-09-04 16:15:17 +02:00

View file

@ -404,7 +404,7 @@ SPCD_PM_ZYPPER="zypper"
# │ step │ environment │ # │ step │ environment │
# ╰──────┴─────────────╯ # ╰──────┴─────────────╯
spcd_step__environment_defaults_print() { spcd_step__environment_print() {
spcd_ca "list" spcd_ca "list"
spcd_dns "list" spcd_dns "list"
set -- \ set -- \
@ -1222,6 +1222,15 @@ spcd_step__packages_install_tools() {
esac esac
} }
spcd_step__packages_install_locales() {
spcd_step_in "Locales"
spcd_step "Install"
spcd_txt_locales "install"
spcd_step "Set"
spcd_txt_locale "set" "${SPCD_TXT_LOCALE}"
spcd_step_out
}
# ╭──────┬────╮ # ╭──────┬────╮
# │ step │ ca │ # │ step │ ca │
# ╰──────┴────╯ # ╰──────┴────╯
@ -1285,12 +1294,6 @@ spcd_step__packages_verify_https() {
fi fi
} }
spcd_step__packages_install_locales() {
spcd_step "Install locales"
spcd_txt_locales "install"
spcd_txt_locale "set" "${SPCD_TXT_LOCALE}"
}
spcd_step__packages_upgrade_system() { spcd_step__packages_upgrade_system() {
spcd_step "Upgrade system" spcd_step "Upgrade system"
case "${SPCD_PM}" in case "${SPCD_PM}" in
@ -1490,15 +1493,13 @@ ${SPCD_PYTHON_ALIAS} / ${name}"
spcd_main() { spcd_main() {
# environment # environment
spcd_txt_locale "set"
#
spcd_step_in "Environment" spcd_step_in "Environment"
spcd_step_in "Defaults" spcd_step_in "Defaults"
spcd_step "Print defined" spcd_step "Print defined"
spcd_step__environment_defaults_print spcd_step__environment_print
spcd_step__environment_defaults_set spcd_step__environment_defaults_set
spcd_step "Print effective" spcd_step "Print effective"
spcd_step__environment_defaults_print spcd_step__environment_print
spcd_step_out spcd_step_out
spcd_step__environment_set_variables spcd_step__environment_set_variables
spcd_step__environment_list_workspace spcd_step__environment_list_workspace
@ -1512,6 +1513,7 @@ spcd_main() {
spcd_step__packages_trust_https spcd_step__packages_trust_https
spcd_step__packages_update_catalog spcd_step__packages_update_catalog
spcd_step__packages_install_tools spcd_step__packages_install_tools
spcd_step__packages_install_locales
spcd_step_out spcd_step_out
# ca # ca
spcd_step_in "CA" spcd_step_in "CA"
@ -1522,7 +1524,6 @@ 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_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