浏览代码

Assign default MC_SOURCE

bryan 5 天之前
父节点
当前提交
bfda47a050
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      installJRMC

+ 3 - 0
installJRMC

@@ -732,6 +732,9 @@ acquire_deb() {
       execute rm "$MC_DEB"
     else
       echo "Using existing DEB: $MC_DEB"
+      # Use dummy source since we don't know where it came from
+      # TODO could attach source tag to filename
+      MC_SOURCE="https://files.jriver-cdn.com/mediacenter/channels/v$MC_MVERSION/latest/$fname"
       return 0
     fi
   fi