From e462eb2a18656d3ed0a95264f90f41b384f10eda Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 4 May 2024 12:41:08 +0200 Subject: [PATCH] =?UTF-8?q?wip/alma=E2=86=92alpine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cd.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cd.sh b/cd.sh index 89c8bee..3e02202 100644 --- a/cd.sh +++ b/cd.sh @@ -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}" "\