From 74e58560f5221ba160949a790e7101aaa1b7f48e Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 00:14:31 -0400 Subject: [PATCH] Use extended regex for webscrape --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index d65eb0e..7a2f29b 100755 --- a/installJRMC +++ b/installJRMC @@ -445,7 +445,7 @@ get_latest_mc_version() { 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 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ -n $iadiusiuns ]]; then mc_version_source="containerized package manager" execute buildah rm "$cnt" # Fallback to webscrape