From cb0984ad60d4575d3868d435804f0a2cccb0271f Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 22:16:55 -0400 Subject: [PATCH] Try to pass mcrepo to apt-get --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 890c099..a3d9d4e 100755 --- a/installJRMC +++ b/installJRMC @@ -349,6 +349,7 @@ init() { PKG_INSTALL=(sudo apt-get -f install --install-recommends -y -q0) PKG_REMOVE=(sudo apt-get remove --auto-remove -y -q0) PKG_UPDATE=(sudo apt-get update -y -q0) + [[ -n $USER_MC_REPO ]] && PKG_INSTALL+=(-t "$USER_MC_REPO") PKG_QUERY=(dpkg -s) PKG_INSTALL_LOCAL() { install_mc_deb "$@"; } ;; @@ -641,7 +642,7 @@ install_mc_repo() { Types: deb URIs: https://dist.jriver.com/$channel/mediacenter/ Signed-By: $keyfile - Suites: $MC_REPO + Suites: focal jammy noble oracular bullseye bookworm trixie Components: main Architectures: amd64 i386 armhf arm64 EOF