From a125cf9a9936eb37de96f237466b4c8a4870c956 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 10 May 2024 23:57:02 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92bundle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cd.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cd.sh b/cd.sh index ef93f21..3466b53 100644 --- a/cd.sh +++ b/cd.sh @@ -104,34 +104,31 @@ cd_set_environment_variables () { cd_echo "CD_OS_ID" "CD_OS_VERSION" # universal CD_DNS_FILE="/etc/resolv.conf" + CD_PKG_CA="ca-certificates" CD_PKG_GIT="git" cd_split - cd_echo "CD_DNS_FILE" "CD_PKG_GIT" + cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT" # shared case "${CD_OS_ID}" in "${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}") CD_CA_ROOT="/etc/pki/ca-trust/source/anchors" CD_CMD_CA="update-ca-trust" - CD_PKG_CA="ca-certificates" ;; "${CD_OS_ALPINE}") CD_CA_ROOT="/usr/local/share/ca-certificates" CD_CMD_CA="update-ca-certificates" - CD_PKG_CA="ca-certificates-bundle" ;; "${CD_OS_ARCH}") CD_CA_ROOT="/etc/ca-certificates/trust-source/anchors" CD_CMD_CA="update-ca-trust" - CD_PKG_CA="ca-certificates" ;; "${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}") CD_CA_ROOT="/usr/local/share/ca-certificates" CD_CMD_CA="update-ca-certificates" - CD_PKG_CA="ca-certificates" ;; esac cd_split - cd_echo "CD_CA_ROOT" "CD_CMD_CA" "CD_PKG_CA" + cd_echo "CD_CA_ROOT" "CD_CMD_CA" # common case "${CD_OS_ID}" in "${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}")