From a70fa248c067a136d0b79873bb8f1877d4f9db74 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 4 May 2024 17:12:08 +0200 Subject: [PATCH] wip/rocky,ubuntu --- cd.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cd.sh b/cd.sh index 80e9ee7..8348ba5 100644 --- a/cd.sh +++ b/cd.sh @@ -7,6 +7,8 @@ CD_DEFAULT_DNS="\ CD_DEFAULT_REPO_ALMA="https://repo.almalinux.org/almalinux" CD_DEFAULT_REPO_ALPINE="https://dl-cdn.alpinelinux.org/alpine" 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 \ @@ -66,6 +68,8 @@ cd_set_environment_variables () { CD_PKG_GIT="git" # common case "${CD_OS_ID}" in + "${CD_OS_ALMA}"|"${CD_OS_ROCKY}") + ;; esac # case "${CD_OS_ID}" in @@ -505,6 +509,8 @@ CD_ERROR_OS=1 CD_OS_ALMA="alma" CD_OS_ALPINE="alpine" CD_OS_DEBIAN="debian" +CD_OS_ROCKY="rocky" +CD_OS_UBUNTU="ubuntu" # run cd_main