wip/alma→alpine

This commit is contained in:
Marc Beninca 2024-05-04 12:41:08 +02:00
parent 11eecaa08e
commit e462eb2a18
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

8
cd.sh
View file

@ -213,6 +213,14 @@ local file
"|^# baseurl|baseurl|"
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}")
file="/etc/apt/sources.list"
cd_write "${file}" "\