wip/rocky,ubuntu

This commit is contained in:
Marc Beninca 2024-05-04 17:12:08 +02:00
parent 1d29cdf637
commit a70fa248c0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

6
cd.sh
View file

@ -7,6 +7,8 @@ CD_DEFAULT_DNS="\
CD_DEFAULT_REPO_ALMA="https://repo.almalinux.org/almalinux" CD_DEFAULT_REPO_ALMA="https://repo.almalinux.org/almalinux"
CD_DEFAULT_REPO_ALPINE="https://dl-cdn.alpinelinux.org/alpine" CD_DEFAULT_REPO_ALPINE="https://dl-cdn.alpinelinux.org/alpine"
CD_DEFAULT_REPO_DEBIAN="https://deb.debian.org/debian" CD_DEFAULT_REPO_DEBIAN="https://deb.debian.org/debian"
CD_DEFAULT_REPO_ROCKY="http://dl.rockylinux.org/\$contentdir"
CD_DEFAULT_REPO_UBUNTU="http://archive.ubuntu.com/ubuntu"
CD_PYTHON_MODULES="\ CD_PYTHON_MODULES="\
cd \ cd \
@ -66,6 +68,8 @@ cd_set_environment_variables () {
CD_PKG_GIT="git" CD_PKG_GIT="git"
# common # common
case "${CD_OS_ID}" in case "${CD_OS_ID}" in
"${CD_OS_ALMA}"|"${CD_OS_ROCKY}")
;;
esac esac
# #
case "${CD_OS_ID}" in case "${CD_OS_ID}" in
@ -505,6 +509,8 @@ CD_ERROR_OS=1
CD_OS_ALMA="alma" CD_OS_ALMA="alma"
CD_OS_ALPINE="alpine" CD_OS_ALPINE="alpine"
CD_OS_DEBIAN="debian" CD_OS_DEBIAN="debian"
CD_OS_ROCKY="rocky"
CD_OS_UBUNTU="ubuntu"
# run # run
cd_main cd_main