wip/alma→alpine
This commit is contained in:
parent
11eecaa08e
commit
e462eb2a18
1 changed files with 8 additions and 0 deletions
8
cd.sh
8
cd.sh
|
@ -213,6 +213,14 @@ local file
|
||||||
"|^# baseurl|baseurl|"
|
"|^# baseurl|baseurl|"
|
||||||
cd_cat "${file}"
|
cd_cat "${file}"
|
||||||
;;
|
;;
|
||||||
|
"${CD_OS_ALPINE}")
|
||||||
|
file="/etc/yum.repos.d/almalinux.repo"
|
||||||
|
cd_sed "${file}" \
|
||||||
|
"|^mirrorlist|# mirrorlist|" \
|
||||||
|
"|${CD_DEFAULT_REPO_ALMA}|${CD_OS_REPO}|" \
|
||||||
|
"|^# baseurl|baseurl|"
|
||||||
|
cd_cat "${file}"
|
||||||
|
;;
|
||||||
"${CD_OS_DEBIAN}")
|
"${CD_OS_DEBIAN}")
|
||||||
file="/etc/apt/sources.list"
|
file="/etc/apt/sources.list"
|
||||||
cd_write "${file}" "\
|
cd_write "${file}" "\
|
||||||
|
|
Loading…
Reference in a new issue