diff --git a/spcd/main.sh b/spcd/main.sh index 2e5e07c..9166e9a 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -31,40 +31,6 @@ [ -n "${SPCD_URL_UBUNTU}" ] || SPCD_URL_UBUNTU="https://ubuntu.mirrors.ovh.net" -# ╭───────╮ -# │ steps │ -# ╰───────╯ - -spcd_main() { - # env - spcd_set_environment_variables - spcd_list_working_directory - # pkg - spcd_set_packages_repositories - spcd_set_packages_configuration - # - spcd_set_https_verification_off - spcd_set_dns_resolving - spcd_update_packages_catalog - spcd_install_packages_tools - # ca - spcd_install_ca_certificates - spcd_write_ca_certificates - spcd_update_ca_certificates - # pkg - spcd_set_https_verification_on - spcd_update_packages_catalog - spcd_upgrade_packages - spcd_install_dos2unix - spcd_install_git - # python - spcd_install_python - spcd_install_python_modules - spcd_install_packages - spcd_write_python_module - spcd_switch_to_python -} - # ╭───────┬─────╮ # │ steps │ env │ # ╰───────┴─────╯ @@ -1249,8 +1215,38 @@ spcd_step_wipe() { "SPCD_STEP_${SPCD_STEP_LEVEL}_LABEL" } -# ╭──────────╮ -# │ internal │ -# ╰──────────╯ +# ╭──────╮ +# │ main │ +# ╰──────╯ + +spcd_main() { + # env + spcd_set_environment_variables + spcd_list_working_directory + # pkg + spcd_set_packages_repositories + spcd_set_packages_configuration + # + spcd_set_https_verification_off + spcd_set_dns_resolving + spcd_update_packages_catalog + spcd_install_packages_tools + # ca + spcd_install_ca_certificates + spcd_write_ca_certificates + spcd_update_ca_certificates + # pkg + spcd_set_https_verification_on + spcd_update_packages_catalog + spcd_upgrade_packages + spcd_install_dos2unix + spcd_install_git + # python + spcd_install_python + spcd_install_python_modules + spcd_install_packages + spcd_write_python_module + spcd_switch_to_python +} spcd_main