From 02dc5e5ce4a13bcd41603ec44844c42eb13de168 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 15:24:14 -0400 Subject: [PATCH] Explicit target for apt-get download --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 127b567..2f65463 100755 --- a/installJRMC +++ b/installJRMC @@ -770,8 +770,8 @@ acquire_deb_new() { fi fi - # Define the repositories to search - if ! (create_mc_apt_container "apt-get download --allow-unauthenticated mediacenter$MC_MVERSION" && + # Download the deb file using the containerized package manager + if ! (create_mc_apt_container "apt-get -t $MC_REPO download --allow-unauthenticated mediacenter$MC_MVERSION" && mnt="$(sudo buildah mount "$CNT")" && execute sudo find "$mnt" -maxdepth 1 -type f -name "*.deb" -exec cp {} "$MC_DEB" \; && execute sudo chown "$USER:$USER" "$MC_DEB" &&