From a9c7fa01a7be90dfc613a5bea42f353404e824fa Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 4 Sep 2024 16:15:17 +0200 Subject: [PATCH 1/3] print --- spcd/bootstrap.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index bef0c18..9dd2c5c 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -404,7 +404,7 @@ SPCD_PM_ZYPPER="zypper" # │ step │ environment │ # ╰──────┴─────────────╯ -spcd_step__environment_defaults_print() { +spcd_step__environment_print() { spcd_ca "list" spcd_dns "list" set -- \ @@ -1490,15 +1490,13 @@ ${SPCD_PYTHON_ALIAS} / ${name}" spcd_main() { # environment - spcd_txt_locale "set" - # spcd_step_in "Environment" spcd_step_in "Defaults" spcd_step "Print defined" - spcd_step__environment_defaults_print + spcd_step__environment_print spcd_step__environment_defaults_set spcd_step "Print effective" - spcd_step__environment_defaults_print + spcd_step__environment_print spcd_step_out spcd_step__environment_set_variables spcd_step__environment_list_workspace From 8a3986f2b1f7b5fd84bd68eebed39637b8fc3127 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 4 Sep 2024 16:38:16 +0200 Subject: [PATCH 2/3] locales/earlier --- spcd/bootstrap.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 9dd2c5c..be1669f 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1222,6 +1222,12 @@ spcd_step__packages_install_tools() { esac } +spcd_step__packages_install_locales() { + spcd_step "Install locales" + spcd_txt_locales "install" + spcd_txt_locale "set" "${SPCD_TXT_LOCALE}" +} + # ╭──────┬────╮ # │ step │ ca │ # ╰──────┴────╯ @@ -1285,12 +1291,6 @@ spcd_step__packages_verify_https() { 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 "Upgrade system" case "${SPCD_PM}" in @@ -1510,6 +1510,7 @@ spcd_main() { spcd_step__packages_trust_https spcd_step__packages_update_catalog spcd_step__packages_install_tools + spcd_step__packages_install_locales spcd_step_out # ca spcd_step_in "CA" @@ -1520,7 +1521,6 @@ spcd_main() { # packages spcd_step_in "Packages" spcd_step__packages_verify_https - spcd_step__packages_install_locales spcd_step__packages_update_catalog spcd_step__packages_upgrade_system spcd_step__packages_install_dos2unix From 55ba36326c4fc7ce7976971f0a636c5f69e53098 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 4 Sep 2024 16:42:40 +0200 Subject: [PATCH 3/3] locales --- spcd/bootstrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index be1669f..00ce18e 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1223,9 +1223,12 @@ spcd_step__packages_install_tools() { } spcd_step__packages_install_locales() { - spcd_step "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 } # ╭──────┬────╮