ca
This commit is contained in:
parent
5fad8cbb6e
commit
124549cd8b
1 changed files with 15 additions and 8 deletions
|
@ -604,22 +604,29 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
|
|||
case "${SPCD_OS_ID}" in
|
||||
"${SPCD_OS_ALMA}" | "${SPCD_OS_FEDORA}" | "${SPCD_OS_ROCKY}")
|
||||
SPCD_CA_ROOT="/etc/pki/ca-trust/source/anchors"
|
||||
SPCD_CMD_CA="update-ca-trust"
|
||||
;;
|
||||
"${SPCD_OS_ALPINE}")
|
||||
"${SPCD_OS_ALPINE}" | "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
|
||||
SPCD_CA_ROOT="/usr/local/share/ca-certificates"
|
||||
SPCD_CMD_CA="update-ca-certificates"
|
||||
;;
|
||||
"${SPCD_OS_ARCH}")
|
||||
SPCD_CA_ROOT="/etc/ca-certificates/trust-source/anchors"
|
||||
SPCD_CMD_CA="update-ca-trust"
|
||||
;;
|
||||
"${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
|
||||
SPCD_CA_ROOT="/usr/local/share/ca-certificates"
|
||||
SPCD_CMD_CA="update-ca-certificates"
|
||||
;;
|
||||
"${SPCD_OS_OPENSUSE}")
|
||||
SPCD_CA_ROOT="/etc/pki/trust/anchors"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
case "${SPCD_OS_ID}" in
|
||||
"${SPCD_OS_ARCH}" | \
|
||||
"${SPCD_OS_ALMA}" | \
|
||||
"${SPCD_OS_FEDORA}" | \
|
||||
"${SPCD_OS_ROCKY}")
|
||||
SPCD_CMD_CA="update-ca-trust"
|
||||
;;
|
||||
"${SPCD_OS_ALPINE}" | \
|
||||
"${SPCD_OS_DEBIAN}" | \
|
||||
"${SPCD_OS_OPENSUSE}" | \
|
||||
"${SPCD_OS_UBUNTU}")
|
||||
SPCD_CMD_CA="update-ca-certificates"
|
||||
;;
|
||||
*) ;;
|
||||
|
|
Loading…
Reference in a new issue