Browse Source

Set MC_SOURCE for container download

bryan 2 days ago
parent
commit
ac1f961b0e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      installJRMC

+ 2 - 1
installJRMC

@@ -774,7 +774,8 @@ acquire_deb_new() {
   execute sudo chown "$USER:$USER" "$MC_DEB" &&
   execute sudo buildah umount "$CNT" &&
   execute sudo buildah rm "$CNT" &&
-  [[ -f $MC_DEB ]]); then
+  [[ -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"
     # Define the repository search order