From 8a0922e7ceab17e691bdd1f2ee7c95006905f367 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 28 Apr 2024 00:12:11 +0200 Subject: [PATCH] copy_ca --- cd.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cd.sh b/cd.sh index 0849e8d..04d80a4 100644 --- a/cd.sh +++ b/cd.sh @@ -12,6 +12,7 @@ cd_main () { cd_update_packages_catalog cd_install_packages_tools cd_install_ca + cd_copy_ca cd_update_ca cd_set_https_verification_on cd_update_packages_catalog @@ -164,6 +165,16 @@ cd_install_ca () { esac } +cd_copy_ca () { +local target + cd_step "Copy CA" + case "${CD_OS_NAME}" in + "debian") target="/usr/local/share/ca-certificates" ;; + *) exit 1 ;; + esac + # TODO copy +} + cd_update_ca () { cd_step "Update CA" case "${CD_OS_NAME}" in