From f79a58ca8cdbf69a71986e03dec5f5ce7d0b66a0 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 16:47:22 -0400 Subject: [PATCH] Fix derp --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 9a54b1e..abe4fca 100755 --- a/installJRMC +++ b/installJRMC @@ -766,14 +766,14 @@ acquire_deb_new() { fi # 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" && + 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" && - MC_SOURCE="https://files.jriver-cdn.com/mediacenter/channels/v$MC_MVERSION/latest/$fname"); then + 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" # Define the repository search order