|
@@ -392,9 +392,9 @@ getLatestVersion() {
|
|
|
installPackage --silent buildah
|
|
|
if [[ -x $(command -v buildah) ]] && CNT=$(buildah from debian:$base); then
|
|
|
buildah run "$CNT" -- bash -c \
|
|
|
- "echo 'deb [trusted=yes arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ $base main' > /etc/apt/sources.list 2>&1"
|
|
|
+ "echo 'deb [trusted=no arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ $base main' > /etc/apt/sources.list 2>&1"
|
|
|
buildah run "$CNT" -- bash -c \
|
|
|
- "apt-get update --allow-insecure-repositories -y > /dev/null 2>&1"
|
|
|
+ "apt-get update --allow-insecure-repositories > /dev/null 2>&1"
|
|
|
if mcversion=$(buildah run "$CNT" -- apt-cache policy mediacenter?? | grep Candidate | awk '{print $2}' | sort -V | tail -n1) \
|
|
|
&& [[ "$mcversion" =~ ([0-9]+.[0-9]+.[0-9]+) ]]; then
|
|
|
_version_source="containerized package manager"
|