From 9dd5c94c6fc27542777fc3cc0264ec27e9f73b32 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 3 Oct 2024 23:38:24 -0400 Subject: [PATCH] Fix source urls --- installJRMC | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/installJRMC b/installJRMC index dd36836..a06298e 100755 --- a/installJRMC +++ b/installJRMC @@ -664,16 +664,15 @@ acquire_deb() { # Define the repositories to check local repos=( - "beta/$BETAPASS" - "latest" - "test" + "https://files.jriver-cdn.com/mediacenter/channels/v$MVERSION/latest/MediaCenter-$MC_VERSION-$ARCH.deb" + "https://files.jriver-cdn.com/mediacenter/test/MediaCenter-$MC_VERSION-$ARCH.deb" + "https://files.jriver-cdn.com/mediacenter/channels/v$MVERSION/beta/$BETAPASS/MediaCenter-$MC_VERSION-$ARCH.deb" ) # Loop through the repositories and attempt to download for repo in "${repos[@]}"; do - echo "Checking $repo repo for DEB package" - if execute wget --quiet --output-document "$MC_DEB" \ - "https://files.jriver-cdn.com/mediacenter/channels/v$MC_VERSION/$repo/MediaCenter-$MC_VERSION-$ARCH.deb"; then + echo "Checking $repo for DEB package" + if execute wget --quiet --output-document "$MC_DEB" "$repo"; then echo "Found!" break fi