wip/repos
This commit is contained in:
parent
e462eb2a18
commit
d84c18ecac
1 changed files with 6 additions and 6 deletions
12
cd.sh
12
cd.sh
|
@ -5,6 +5,7 @@ CD_DEFAULT_DNS="\
|
||||||
9.9.9.9 \
|
9.9.9.9 \
|
||||||
"
|
"
|
||||||
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_DEBIAN="https://deb.debian.org/debian"
|
CD_DEFAULT_REPO_DEBIAN="https://deb.debian.org/debian"
|
||||||
|
|
||||||
CD_PYTHON_MODULES="\
|
CD_PYTHON_MODULES="\
|
||||||
|
@ -214,12 +215,11 @@ local file
|
||||||
cd_cat "${file}"
|
cd_cat "${file}"
|
||||||
;;
|
;;
|
||||||
"${CD_OS_ALPINE}")
|
"${CD_OS_ALPINE}")
|
||||||
file="/etc/yum.repos.d/almalinux.repo"
|
file="/etc/apk/repositories"
|
||||||
cd_sed "${file}" \
|
cd_write "${file}" "\
|
||||||
"|^mirrorlist|# mirrorlist|" \
|
${CD_OS_REPO}/v${CD_OS_VERSION}/main
|
||||||
"|${CD_DEFAULT_REPO_ALMA}|${CD_OS_REPO}|" \
|
${CD_OS_REPO}/v${CD_OS_VERSION}/community
|
||||||
"|^# baseurl|baseurl|"
|
"
|
||||||
cd_cat "${file}"
|
|
||||||
;;
|
;;
|
||||||
"${CD_OS_DEBIAN}")
|
"${CD_OS_DEBIAN}")
|
||||||
file="/etc/apt/sources.list"
|
file="/etc/apt/sources.list"
|
||||||
|
|
Loading…
Reference in a new issue