Modernize sources list for containerized package manager
This commit is contained in:
@@ -437,11 +437,10 @@ get_latest_mc_version() {
|
|||||||
buildah run "$cnt" -- sh -c '
|
buildah run "$cnt" -- sh -c '
|
||||||
apk add apt &>/dev/null
|
apk add apt &>/dev/null
|
||||||
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
|
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
|
||||||
Types: deb
|
Types: deb
|
||||||
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 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user