parent
a014410c7f
commit
70eaf4bba3
1 changed files with 15 additions and 0 deletions
15
spcd/main.sh
15
spcd/main.sh
|
@ -44,14 +44,17 @@ spcd_main() {
|
||||||
spcd_set_dns_resolving
|
spcd_set_dns_resolving
|
||||||
spcd_update_packages_catalog
|
spcd_update_packages_catalog
|
||||||
spcd_install_packages_tools
|
spcd_install_packages_tools
|
||||||
|
# ca
|
||||||
spcd_install_ca_certificates
|
spcd_install_ca_certificates
|
||||||
spcd_write_ca_certificates
|
spcd_write_ca_certificates
|
||||||
spcd_update_ca_certificates
|
spcd_update_ca_certificates
|
||||||
|
# pkg
|
||||||
spcd_set_https_verification_on
|
spcd_set_https_verification_on
|
||||||
spcd_update_packages_catalog
|
spcd_update_packages_catalog
|
||||||
spcd_upgrade_packages
|
spcd_upgrade_packages
|
||||||
spcd_install_dos2unix
|
spcd_install_dos2unix
|
||||||
spcd_install_git
|
spcd_install_git
|
||||||
|
# python
|
||||||
spcd_install_python
|
spcd_install_python
|
||||||
spcd_install_python_modules
|
spcd_install_python_modules
|
||||||
spcd_install_packages
|
spcd_install_packages
|
||||||
|
@ -668,6 +671,10 @@ spcd_install_packages_tools() {
|
||||||
spcd_install_package "${SPCD_PKG_PKG}"
|
spcd_install_package "${SPCD_PKG_PKG}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╭───────┬────╮
|
||||||
|
# │ steps │ ca │
|
||||||
|
# ╰───────┴────╯
|
||||||
|
|
||||||
spcd_install_ca_certificates() {
|
spcd_install_ca_certificates() {
|
||||||
spcd_step "Install CA"
|
spcd_step "Install CA"
|
||||||
spcd_install_package "${SPCD_PKG_CA}"
|
spcd_install_package "${SPCD_PKG_CA}"
|
||||||
|
@ -692,6 +699,10 @@ spcd_update_ca_certificates() {
|
||||||
${SPCD_CMD_CA} || exit
|
${SPCD_CMD_CA} || exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╭───────┬─────╮
|
||||||
|
# │ steps │ pkg │
|
||||||
|
# ╰───────┴─────╯
|
||||||
|
|
||||||
spcd_set_https_verification_on() {
|
spcd_set_https_verification_on() {
|
||||||
spcd_step "Set HTTPS verification on"
|
spcd_step "Set HTTPS verification on"
|
||||||
spcd_rm "${SPCD_PM_HTTPS_PATH}"
|
spcd_rm "${SPCD_PM_HTTPS_PATH}"
|
||||||
|
@ -712,6 +723,10 @@ spcd_install_git() {
|
||||||
spcd_install_package "${SPCD_PKG_GIT}"
|
spcd_install_package "${SPCD_PKG_GIT}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╭───────┬────────╮
|
||||||
|
# │ steps │ python │
|
||||||
|
# ╰───────┴────────╯
|
||||||
|
|
||||||
spcd_install_python() {
|
spcd_install_python() {
|
||||||
spcd_step "Install Python"
|
spcd_step "Install Python"
|
||||||
spcd_install_package "${SPCD_PYTHON_PACKAGE}"
|
spcd_install_package "${SPCD_PYTHON_PACKAGE}"
|
||||||
|
|
Loading…
Reference in a new issue