From 70eaf4bba3b050471f2f73f3f100002b15c86882 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2024 17:11:03 +0200 Subject: [PATCH] steps/ca,pkg,python --- spcd/main.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spcd/main.sh b/spcd/main.sh index 658601c..e141214 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -44,14 +44,17 @@ spcd_main() { 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 @@ -668,6 +671,10 @@ spcd_install_packages_tools() { spcd_install_package "${SPCD_PKG_PKG}" } +# ╭───────┬────╮ +# │ steps │ ca │ +# ╰───────┴────╯ + spcd_install_ca_certificates() { spcd_step "Install CA" spcd_install_package "${SPCD_PKG_CA}" @@ -692,6 +699,10 @@ spcd_update_ca_certificates() { ${SPCD_CMD_CA} || exit } +# ╭───────┬─────╮ +# │ steps │ pkg │ +# ╰───────┴─────╯ + spcd_set_https_verification_on() { spcd_step "Set HTTPS verification on" spcd_rm "${SPCD_PM_HTTPS_PATH}" @@ -712,6 +723,10 @@ spcd_install_git() { spcd_install_package "${SPCD_PKG_GIT}" } +# ╭───────┬────────╮ +# │ steps │ python │ +# ╰───────┴────────╯ + spcd_install_python() { spcd_step "Install Python" spcd_install_package "${SPCD_PYTHON_PACKAGE}"