wip/universal

This commit is contained in:
Marc Beninca 2024-05-04 17:37:32 +02:00
parent fb2ccf9cbc
commit 7d4538b523
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
cd.sh
View file

@ -71,6 +71,8 @@ cd_set_environment_variables () {
CD_DNS_FILE="/etc/resolv.conf" CD_DNS_FILE="/etc/resolv.conf"
CD_PKG_CA="ca-certificates" CD_PKG_CA="ca-certificates"
CD_PKG_GIT="git" CD_PKG_GIT="git"
cd_split
cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT"
# common # common
case "${CD_OS_ID}" in case "${CD_OS_ID}" in
"${CD_OS_ALMA}"|"${CD_OS_ROCKY}") "${CD_OS_ALMA}"|"${CD_OS_ROCKY}")
@ -188,8 +190,6 @@ Dir::Etc::SourceParts \"\";
CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}" CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}"
# #
cd_split cd_split
cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT"
cd_split
cd_echo "CD_CA_ROOT" cd_echo "CD_CA_ROOT"
cd_split cd_split
cd_echo "CD_CMD_CA" \ cd_echo "CD_CMD_CA" \