Compare commits

..

No commits in common. "5774113c403444b341100561a8384d554cfa0b71" and "f92d49fe82572ce69b794259c8108bfa7176c401" have entirely different histories.

View file

@ -1046,13 +1046,13 @@ spcd_packages_install_tools() {
# │ steps │ ca │
# ╰───────┴────╯
spcd_ca_install_package() {
spcd_step "Install package"
spcd_install_ca_certificates() {
spcd_step "Install CA"
spcd_install_package "${SPCD_PKG_CA}"
}
spcd_ca_write_certificates() {
spcd_step "Write certificates"
spcd_write_ca_certificates() {
spcd_step "Write CA certificates"
spcd_os_mkdir "${SPCD_CA_ROOT}"
while true; do
spcd_wcc__index=$((spcd_wcc__index + 1))
@ -1065,8 +1065,8 @@ spcd_ca_write_certificates() {
done
}
spcd_ca_update_certificates() {
spcd_step "Update certificates"
spcd_update_ca_certificates() {
spcd_step "Update CA certificates"
${SPCD_CMD_CA}
}
@ -1224,11 +1224,10 @@ spcd_python_write_module() {
spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value}
"
done
eval "spcd_wpm__index=\$((SPCD_STEP_${SPCD_STEP_LEVEL}_INDEX + 1))"
for spcd_wpm__root in \
"${SPCD_PYTHON_PACKAGES}" "${SPCD_PYTHON_VENV_PACKAGES}"; do
spcd_os_write "${spcd_wpm__root}/env.py" "${spcd_wpm__text}
SPCD_STEP = ${spcd_wpm__index}
SPCD_STEP = $((SPCD_STEP + 1))
"
done
}
@ -1266,11 +1265,9 @@ spcd_main() {
spcd_packages_install_tools
spcd_step_out
# ca
spcd_step_in "CA"
spcd_ca_install_package
spcd_ca_write_certificates
spcd_ca_update_certificates
spcd_step_out
spcd_install_ca_certificates
spcd_write_ca_certificates
spcd_update_ca_certificates
# packages
spcd_step_in "Packages"
spcd_packages_verify_https