From b9eca3b3da59b927920f17cb62e1a2c8572c3ce1 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 16:38:45 -0400 Subject: [PATCH] Set MC_SOURCE for container download --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 1cb6045..d4a8254 100755 --- a/installJRMC +++ b/installJRMC @@ -771,10 +771,10 @@ acquire_deb_new() { 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" \; && + [[ -f $MC_DEB ]] && execute sudo chown "$USER:$USER" "$MC_DEB" && execute sudo buildah umount "$CNT" && execute sudo buildah rm "$CNT" && - [[ -f $MC_DEB ]] && MC_SOURCE="https://files.jriver-cdn.com/mediacenter/channels/v$MC_MVERSION/latest/$fname"); then err "Failed to download DEB from containerized package manager" echo "Using legacy download method"