This commit is contained in:
Marc Beninca 2024-06-24 12:20:16 +02:00
parent c197081d8e
commit 87feb55792
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

12
pidd.sh
View file

@ -453,9 +453,9 @@ pidd_set_packages_repositories() {
*) ;; *) ;;
esac esac
pidd_sed "${pidd_spr__file}" \ pidd_sed "${pidd_spr__file}" \
"|^mirrorlist|# mirrorlist|" \ "|^mirrorlist|# mirrorlist|" \
"|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \
"|^# baseurl|baseurl|" "|^# baseurl|baseurl|"
;; ;;
"${PIDD_OS_ALPINE}") "${PIDD_OS_ALPINE}")
pidd_spr__file="/etc/apk/repositories" pidd_spr__file="/etc/apk/repositories"
@ -480,9 +480,9 @@ deb ${PIDD_URL_CHOSEN}-security ${PIDD_OS_VERSION}-security main
*) ;; *) ;;
esac esac
pidd_sed "${pidd_spr__file}" \ pidd_sed "${pidd_spr__file}" \
"|^mirrorlist|# mirrorlist|" \ "|^mirrorlist|# mirrorlist|" \
"|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \
"|^#baseurl|baseurl|" "|^#baseurl|baseurl|"
;; ;;
"${PIDD_OS_UBUNTU}") "${PIDD_OS_UBUNTU}")
pidd_spr__file="/etc/apt/sources.list" pidd_spr__file="/etc/apt/sources.list"