From 346f5838eeb4ee065e07bd6f68329b6b7c62ba85 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 29 May 2024 14:08:59 -0400 Subject: [PATCH] Fix debug bug --- installJRMC | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index 3ef8dd4..4ce8481 100755 --- a/installJRMC +++ b/installJRMC @@ -19,7 +19,7 @@ shopt -s extglob declare -g SCRIPTVERSION="1.0-dev" declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,83.0.html" # MC32 declare -g MC_VERSION="32.0.45" # Do find all replace -declare -g MC_REPO="bullseye" +declare -g MC_REPO="bullseye" # should match the MC_VERSION printHelp() { debug "Running: ${FUNCNAME[0]}" @@ -425,7 +425,6 @@ setMCVersion() { # Containerized package manager elif installPackage --silent buildah && cnt=$(buildah from --quiet debian:stable-slim) &>/dev/null && - debug "$cnt" && buildah run "$cnt" -- bash -c \ "echo 'deb [trusted=no arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ $MC_REPO main' > /etc/apt/sources.list 2>&1" &>/dev/null && buildah run "$cnt" -- bash -c \ @@ -478,7 +477,9 @@ setMCVersion() { ;; esac fi - echo "Using MC version $MC_VERSION determined by $MC_VERSION_SOURCE" + + echo "Using the $MC_REPO repository" + echo "Using MC version $MC_VERSION from the $MC_REPO repo determined by $MC_VERSION_SOURCE" [[ $MC_VERSION_SOURCE == "user input" ]] || echo "To override, use --mcversion" debug "MC_VERSION=$MC_VERSION, MC_REPO=$MC_REPO, MC_PKG=$MC_PKG, MC_RPM=$MC_RPM" }