Set MC_SOURCE for container download

This commit is contained in:
2025-04-24 16:33:50 -04:00
parent 4c65c8a964
commit ac1f961b0e

View File

@@ -774,7 +774,8 @@ acquire_deb_new() {
execute sudo chown "$USER:$USER" "$MC_DEB" && execute sudo chown "$USER:$USER" "$MC_DEB" &&
execute sudo buildah umount "$CNT" && execute sudo buildah umount "$CNT" &&
execute sudo buildah rm "$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" err "Failed to download DEB from containerized package manager"
echo "Using legacy download method" echo "Using legacy download method"
# Define the repository search order # Define the repository search order