Modernize sources list for containerized package manager

This commit is contained in:
2025-04-23 23:58:00 -04:00
parent 19986086da
commit 48c6189d3e

View File

@@ -441,6 +441,7 @@ get_latest_mc_version() {
URIs: https://dist.jriver.com/latest/mediacenter/ URIs: https://dist.jriver.com/latest/mediacenter/
Suites: '"$1"' Suites: '"$1"'
Components: main Components: main
Architectures: amd64,armhf,arm64
EOF EOF
apt update --allow-insecure-repositories &>/dev/null' && apt update --allow-insecure-repositories &>/dev/null' &&
MC_VERSION=$(buildah run "$cnt" -- apt-cache policy mediacenter?? | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null && MC_VERSION=$(buildah run "$cnt" -- apt-cache policy mediacenter?? | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null &&
@@ -665,6 +666,7 @@ install_mc_repo() {
Signed-By: $keyfile Signed-By: $keyfile
Suites: $MC_REPO Suites: $MC_REPO
Components: main Components: main
Architectures: amd64,i386,armhf,arm64
EOF EOF
else else
if [[ $channel == "beta" ]]; then if [[ $channel == "beta" ]]; then