Explorar o código

Set MC_SOURCE for container download

bryan hai 3 días
pai
achega
ac1f961b0e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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