From fc1956dc041680ffad957a2ba46e88890e1624b4 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 7 Nov 2025 18:01:22 -0500 Subject: [PATCH] Skip containerized version lookup for beta versions --- installJRMC | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index c3eacd3..a4f1e9a 100755 --- a/installJRMC +++ b/installJRMC @@ -441,7 +441,9 @@ set_mc_version() { # Determine latest version # Containerized package manager - if create_mc_apt_container && + # Skip for beta versions (default to webscrape) + if [[ -z $BETAPASS ]] && + create_mc_apt_container && MC_VERSION=$(sudo buildah run "$CNT" -- apt-cache policy "mediacenter${MC_MVERSION_USER:-${MC_VERSION_HARDCODE%%.*}}" | awk '/Candidate:/ {sub(/-.*/, "", $2); print $2}' | sort -V | tail -n1) && execute sudo buildah rm "$CNT" && [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then