Explicit target for apt-get download

This commit is contained in:
2025-04-24 15:24:14 -04:00
parent 45e8d31bd0
commit 02dc5e5ce4

View File

@@ -770,8 +770,8 @@ acquire_deb_new() {
fi fi
fi fi
# Define the repositories to search # Download the deb file using the containerized package manager
if ! (create_mc_apt_container "apt-get download --allow-unauthenticated mediacenter$MC_MVERSION" && if ! (create_mc_apt_container "apt-get -t $MC_REPO download --allow-unauthenticated mediacenter$MC_MVERSION" &&
mnt="$(sudo buildah mount "$CNT")" && mnt="$(sudo buildah mount "$CNT")" &&
execute sudo find "$mnt" -maxdepth 1 -type f -name "*.deb" -exec cp {} "$MC_DEB" \; && execute sudo find "$mnt" -maxdepth 1 -type f -name "*.deb" -exec cp {} "$MC_DEB" \; &&
execute sudo chown "$USER:$USER" "$MC_DEB" && execute sudo chown "$USER:$USER" "$MC_DEB" &&