−bundle
Some checks failed
/ job (push) Failing after 1m50s

This commit is contained in:
Marc Beninca 2024-05-10 23:57:02 +02:00
parent da2b2fa97a
commit a125cf9a99
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

9
cd.sh
View file

@ -104,34 +104,31 @@ cd_set_environment_variables () {
cd_echo "CD_OS_ID" "CD_OS_VERSION" cd_echo "CD_OS_ID" "CD_OS_VERSION"
# universal # universal
CD_DNS_FILE="/etc/resolv.conf" CD_DNS_FILE="/etc/resolv.conf"
CD_PKG_CA="ca-certificates"
CD_PKG_GIT="git" CD_PKG_GIT="git"
cd_split cd_split
cd_echo "CD_DNS_FILE" "CD_PKG_GIT" cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT"
# shared # shared
case "${CD_OS_ID}" in case "${CD_OS_ID}" in
"${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}") "${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}")
CD_CA_ROOT="/etc/pki/ca-trust/source/anchors" CD_CA_ROOT="/etc/pki/ca-trust/source/anchors"
CD_CMD_CA="update-ca-trust" CD_CMD_CA="update-ca-trust"
CD_PKG_CA="ca-certificates"
;; ;;
"${CD_OS_ALPINE}") "${CD_OS_ALPINE}")
CD_CA_ROOT="/usr/local/share/ca-certificates" CD_CA_ROOT="/usr/local/share/ca-certificates"
CD_CMD_CA="update-ca-certificates" CD_CMD_CA="update-ca-certificates"
CD_PKG_CA="ca-certificates-bundle"
;; ;;
"${CD_OS_ARCH}") "${CD_OS_ARCH}")
CD_CA_ROOT="/etc/ca-certificates/trust-source/anchors" CD_CA_ROOT="/etc/ca-certificates/trust-source/anchors"
CD_CMD_CA="update-ca-trust" CD_CMD_CA="update-ca-trust"
CD_PKG_CA="ca-certificates"
;; ;;
"${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}") "${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}")
CD_CA_ROOT="/usr/local/share/ca-certificates" CD_CA_ROOT="/usr/local/share/ca-certificates"
CD_CMD_CA="update-ca-certificates" CD_CMD_CA="update-ca-certificates"
CD_PKG_CA="ca-certificates"
;; ;;
esac esac
cd_split cd_split
cd_echo "CD_CA_ROOT" "CD_CMD_CA" "CD_PKG_CA" cd_echo "CD_CA_ROOT" "CD_CMD_CA"
# common # common
case "${CD_OS_ID}" in case "${CD_OS_ID}" in
"${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}") "${CD_OS_ALMA}"|"${CD_OS_FEDORA}"|"${CD_OS_ROCKY}")