瀏覽代碼

Set MC_SOURCE for container download

bryan 3 天之前
父節點
當前提交
ac1f961b0e
共有 1 個文件被更改,包括 2 次插入1 次删除
  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