Modernize sources list for containerized package manager

This commit is contained in:
2025-04-23 23:44:10 -04:00
parent 8b59eefb5d
commit 8b99662d2f

View File

@@ -439,7 +439,7 @@ Types: deb
URIs: https://dist.jriver.com/latest/mediacenter/ URIs: https://dist.jriver.com/latest/mediacenter/
Suites: $1 Suites: $1
Components: main Components: main
EOF && apt update --allow-insecure-repositories" && EOF ; cat /etc/apt/sources.list.d/jriver.sources; apt update --allow-insecure-repositories" &&
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 &&
[[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
mc_version_source="containerized package manager" mc_version_source="containerized package manager"