From 7f79f455a0daa94e1dd9c23d844e58202bc46733 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 12 Nov 2024 00:41:50 -0500 Subject: [PATCH] use noble repos on oracular --- installJRMC | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 8a42da6..d72ce7f 100755 --- a/installJRMC +++ b/installJRMC @@ -309,7 +309,11 @@ init() { # Match the MC repo to the system codename if [[ -z $USER_MC_REPO && ($ID == debian || $ID == ubuntu) ]]; then - MC_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_REPO}} + if [[ $UBUNTU_CODENAME == "oracular" ]]; then + MC_REPO="noble" # TODO temporarily use noble repo for Ubuntu 24.10 + else + MC_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_REPO}} + fi fi # Use the correct repo for legacy MC versions