From efefd30e8eb4df8e2fe4b56ec9bcd1da76c7ae89 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 10:25:22 -0400 Subject: [PATCH] Use rootful container for testing --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index b1f5612..7e8aa49 100755 --- a/installJRMC +++ b/installJRMC @@ -432,7 +432,7 @@ get_latest_mc_version() { Architectures: '"$MC_ARCH"' EOF apt-get update --allow-insecure-repositories' && - MC_VERSION=$(sudo buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null && + MC_VERSION=$(sudo buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) && [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then mc_version_source="containerized package manager" execute sudo buildah rm "$cnt"