From afb12e3c19431c1d90ab67087b3f8e510c940bfc Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 02:11:17 -0400 Subject: [PATCH] Pull latest --mcversion from repo --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index d864834..2125e53 100755 --- a/installJRMC +++ b/installJRMC @@ -430,7 +430,7 @@ get_latest_mc_version() { Architectures: amd64,armhf,arm64 EOF 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$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null && [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then mc_version_source="containerized package manager" execute buildah rm "$cnt"