This commit is contained in:
Marc Beninca 2024-05-04 19:33:07 +02:00
parent 033b2b8493
commit 53923ea1f0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

10
cd.sh
View file

@ -162,6 +162,16 @@ Dir::Etc::SourceParts \"\";
cd_echo "CD_CMD_CLEAN" "CD_CMD_INSTALL" "CD_CMD_UPDATE" "CD_CMD_UPGRADE"
cd_split
cd_echo "CD_PM_CONF_PATH" "CD_PM_HTTPS_PATH"
# specific
case "${CD_OS_ID}" in
"${CD_OS_ALMA}") CD_PM_URL="https://repo.almalinux.org/almalinux" ;;
"${CD_OS_ALPINE}") CD_PM_URL="https://dl-cdn.alpinelinux.org/alpine" ;;
"${CD_OS_DEBIAN}") CD_PM_URL="http://deb.debian.org/debian" ;;
"${CD_OS_ROCKY}") CD_PM_URL="http://dl.rockylinux.org/\$contentdir" ;;
"${CD_OS_UBUNTU}") CD_PM_URL="http://archive.ubuntu.com/ubuntu" ;;
esac
cd_split
cd_echo "CD_PM_URL"
# TODO python
case "${CD_OS_ID}" in
"${CD_OS_ALMA}")