Fix source urls
This commit is contained in:
11
installJRMC
11
installJRMC
@@ -664,16 +664,15 @@ acquire_deb() {
|
|||||||
|
|
||||||
# Define the repositories to check
|
# Define the repositories to check
|
||||||
local repos=(
|
local repos=(
|
||||||
"beta/$BETAPASS"
|
"https://files.jriver-cdn.com/mediacenter/channels/v$MVERSION/latest/MediaCenter-$MC_VERSION-$ARCH.deb"
|
||||||
"latest"
|
"https://files.jriver-cdn.com/mediacenter/test/MediaCenter-$MC_VERSION-$ARCH.deb"
|
||||||
"test"
|
"https://files.jriver-cdn.com/mediacenter/channels/v$MVERSION/beta/$BETAPASS/MediaCenter-$MC_VERSION-$ARCH.deb"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Loop through the repositories and attempt to download
|
# Loop through the repositories and attempt to download
|
||||||
for repo in "${repos[@]}"; do
|
for repo in "${repos[@]}"; do
|
||||||
echo "Checking $repo repo for DEB package"
|
echo "Checking $repo for DEB package"
|
||||||
if execute wget --quiet --output-document "$MC_DEB" \
|
if execute wget --quiet --output-document "$MC_DEB" "$repo"; then
|
||||||
"https://files.jriver-cdn.com/mediacenter/channels/v$MC_VERSION/$repo/MediaCenter-$MC_VERSION-$ARCH.deb"; then
|
|
||||||
echo "Found!"
|
echo "Found!"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user