wip/url
This commit is contained in:
parent
033b2b8493
commit
53923ea1f0
1 changed files with 10 additions and 0 deletions
10
cd.sh
10
cd.sh
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue