From e17948a33126b98bfda84cdb025ecab41ebd5cad Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 12:55:22 -0400 Subject: [PATCH] Only match host repo on MC31+ --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 5a43e14..5f85915 100755 --- a/installJRMC +++ b/installJRMC @@ -383,7 +383,7 @@ init() { # Repo selection # Match repo to the host on MC31+ unless overriden by user - if [[ $ID =~ debian|ubuntu && "${USER_MC_MVERSION:-${MC_VERSION%%.*}}" -lt 31 ]]; then + if [[ $ID =~ debian|ubuntu && "${USER_MC_MVERSION:-${MC_VERSION%%.*}}" -ge 31 ]]; then MC_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_REPO}} fi MC_REPO="${USER_MC_REPO:-$MC_REPO}" # allow user override