ca/install

This commit is contained in:
Marc Beninca 2024-09-08 19:52:24 +02:00
parent ca5de693dc
commit 958fb45c09
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -836,6 +836,15 @@ spcd_python_pip() {
fi
}
# ╭───┬──────────────────────────────╮
# │ f │ ca = certificate authorities │
# ╰───┴──────────────────────────────╯
spcd_f_ca_install() {
spcd_step "Install package"
spcd_f_pm_pkg_install "ca-certificates"
}
# ╭───┬──────────────────────╮
# │ f │ pm = package manager │
# ╰───┴──────────────────────╯
@ -1329,11 +1338,6 @@ spcd_step__packages_install_locales() {
# │ s │ ca │
# ╰───┴────╯
spcd_step__ca_install_package() {
spcd_step "Install package"
spcd_f_pm_pkg_install "ca-certificates"
}
spcd_step__ca_write_certificates() {
spcd_step "Write certificates"
local root
@ -1590,7 +1594,7 @@ spcd_main() {
spcd_step_out
# ca
spcd_step_in "CA"
spcd_step__ca_install_package
spcd_f_ca_install
spcd_step__ca_write_certificates
spcd_step__ca_update_certificates
spcd_step_out