This commit is contained in:
Marc Beninca 2024-08-26 03:17:36 +02:00
parent f92d49fe82
commit 51566a57b0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1046,13 +1046,13 @@ spcd_packages_install_tools() {
# │ steps │ ca │
# ╰───────┴────╯
spcd_install_ca_certificates() {
spcd_step "Install CA"
spcd_ca_install_package() {
spcd_step "Install package"
spcd_install_package "${SPCD_PKG_CA}"
}
spcd_write_ca_certificates() {
spcd_step "Write CA certificates"
spcd_ca_write_certificates() {
spcd_step "Write certificates"
spcd_os_mkdir "${SPCD_CA_ROOT}"
while true; do
spcd_wcc__index=$((spcd_wcc__index + 1))
@ -1065,8 +1065,8 @@ spcd_write_ca_certificates() {
done
}
spcd_update_ca_certificates() {
spcd_step "Update CA certificates"
spcd_ca_update_certificates() {
spcd_step "Update certificates"
${SPCD_CMD_CA}
}
@ -1265,9 +1265,11 @@ spcd_main() {
spcd_packages_install_tools
spcd_step_out
# ca
spcd_install_ca_certificates
spcd_write_ca_certificates
spcd_update_ca_certificates
spcd_step_in "CA"
spcd_ca_install_package
spcd_ca_write_certificates
spcd_ca_update_certificates
spcd_step_out
# packages
spcd_step_in "Packages"
spcd_packages_verify_https