This commit is contained in:
Marc Beninca 2024-05-04 21:34:10 +02:00
parent 2ac9ad2ff2
commit cea7709998
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

2
cd.sh
View file

@ -292,7 +292,6 @@ local file
"|^mirrorlist|# mirrorlist|" \ "|^mirrorlist|# mirrorlist|" \
"|${CD_DEFAULT_REPO_ALMA}|${CD_OS_REPO}|" \ "|${CD_DEFAULT_REPO_ALMA}|${CD_OS_REPO}|" \
"|^# baseurl|baseurl|" "|^# baseurl|baseurl|"
cd_cat "${file}"
;; ;;
"${CD_OS_ALPINE}") "${CD_OS_ALPINE}")
file="/etc/apk/repositories" file="/etc/apk/repositories"
@ -544,6 +543,7 @@ local file
for expression in "${@}" ; do for expression in "${@}" ; do
sed --in-place "s${expression}g" "${file}" || exit sed --in-place "s${expression}g" "${file}" || exit
done done
cd_cat "${file}"
fi fi
} }