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

16
pidd.sh
View file

@ -290,20 +290,20 @@ Acquire::https::Verify-Peer False;
[ -n "${PIDD_URL_ARCH}" ] && PIDD_URL_CHOSEN="${PIDD_URL_ARCH}" [ -n "${PIDD_URL_ARCH}" ] && PIDD_URL_CHOSEN="${PIDD_URL_ARCH}"
;; ;;
"${PIDD_OS_DEBIAN}") "${PIDD_OS_DEBIAN}")
[ -n "${PIDD_URL_DEBIAN}" ] && PIDD_URL_CHOSEN="${PIDD_URL_DEBIAN}" \ [ -n "${PIDD_URL_DEBIAN}" ] && PIDD_URL_CHOSEN="${PIDD_URL_DEBIAN}" ||
|| PIDD_URL_CHOSEN="https://deb.debian.org/debian" PIDD_URL_CHOSEN="https://deb.debian.org/debian"
;; ;;
"${PIDD_OS_FEDORA}") "${PIDD_OS_FEDORA}")
[ -n "${PIDD_URL_FEDORA}" ] && PIDD_URL_CHOSEN="${PIDD_URL_FEDORA}" \ [ -n "${PIDD_URL_FEDORA}" ] && PIDD_URL_CHOSEN="${PIDD_URL_FEDORA}" ||
|| PIDD_URL_CHOSEN="https://rpmfind.net/linux/fedora/linux/releases" PIDD_URL_CHOSEN="https://rpmfind.net/linux/fedora/linux/releases"
;; ;;
"${PIDD_OS_ROCKY}") "${PIDD_OS_ROCKY}")
[ -n "${PIDD_URL_ROCKY}" ] && PIDD_URL_CHOSEN="${PIDD_URL_ROCKY}" \ [ -n "${PIDD_URL_ROCKY}" ] && PIDD_URL_CHOSEN="${PIDD_URL_ROCKY}" ||
|| PIDD_URL_CHOSEN="https://dl.rockylinux.org/\$contentdir" PIDD_URL_CHOSEN="https://dl.rockylinux.org/\$contentdir"
;; ;;
"${PIDD_OS_UBUNTU}") "${PIDD_OS_UBUNTU}")
[ -n "${PIDD_URL_UBUNTU}" ] && PIDD_URL_CHOSEN="${PIDD_URL_UBUNTU}" \ [ -n "${PIDD_URL_UBUNTU}" ] && PIDD_URL_CHOSEN="${PIDD_URL_UBUNTU}" ||
|| PIDD_URL_CHOSEN="https://ubuntu.mirrors.ovh.net/ubuntu" PIDD_URL_CHOSEN="https://ubuntu.mirrors.ovh.net/ubuntu"
;; ;;
*) ;; *) ;;
esac esac