From 41fa5286cbe0668eed8be2ed9a29b8a956c8ea12 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 09:54:58 -0400 Subject: [PATCH] Swap apt-get for apt --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index a9e3b34..33ade59 100755 --- a/installJRMC +++ b/installJRMC @@ -429,7 +429,7 @@ get_latest_mc_version() { Components: main Architectures: amd64 armhf arm64 EOF - apt-get update -o Acquire::AllowInsecureRepositories=true &>/dev/null' && + apt-get update -o Acquire::AllowInsecureRepositories=true' && 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"