Explorar el Código

Assign default MC_SOURCE

bryan hace 5 días
padre
commit
bfda47a050
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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