Browse Source

Set MC_SOURCE for container download

bryan 3 ngày trước cách đây
mục cha
commit
ac1f961b0e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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