main
This commit is contained in:
parent
0f0bcf51db
commit
1d99abf92a
1 changed files with 33 additions and 37 deletions
70
spcd/main.sh
70
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
|
||||
|
|
Loading…
Reference in a new issue