From a1892c5a25e5459eeadf629641f23660f5036ee6 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 2 Dec 2021 20:05:24 -0500 Subject: [PATCH] Bug squash --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 287c898..65a901f 100755 --- a/installJRMC +++ b/installJRMC @@ -338,7 +338,7 @@ getLatestVersion() { #_base_next="bullseye" # TODO use for fallback to smooth upgrades # Legacy - _boardurl26="https://yabb.jriver.com/interact/index.php/board,64.0.html" # jessie/stretch + #_boardurl26="https://yabb.jriver.com/interact/index.php/board,64.0.html" # jessie/stretch # Peg older versions to prevent ABI and dependency mismatches in automatic mode # This can be overriden w/ --mcversion @@ -376,7 +376,7 @@ getLatestVersion() { # Use a containerized package manager # TODO but how to determine build distro ($_base=buster)? [[ ! -x $(command -v buildah) ]] && installPackage --silent buildah - if [[ -x $(command -v buildah) ]] && CNT=$(buildah from debian$_base); then + if [[ -x $(command -v buildah) ]] && CNT=$(buildah from debian:$_base); then buildah run "$CNT" -- bash -c \ "echo 'deb [trusted=yes arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ $_base main' > /etc/apt/sources.list 2>&1" buildah run "$CNT" -- bash -c \