Quiet apt download warnings

This commit is contained in:
2025-04-24 19:07:08 -04:00
parent b4b38e5365
commit 25d86465a3

View File

@@ -711,7 +711,7 @@ acquire_deb() {
fi
# Download the deb file using the containerized package manager
if ! { create_mc_apt_container "apt-get -o Acquire::Sandbox::User=root -t $MC_REPO download --allow-unauthenticated mediacenter$MC_MVERSION" &&
if ! { create_mc_apt_container "apt-get -t $MC_REPO download --allow-unauthenticated mediacenter$MC_MVERSION &>/dev/null" &&
mnt="$(sudo buildah mount "$CNT")" &&
execute sudo find "$mnt" -maxdepth 1 -type f -name "*.deb" -exec cp {} "$MC_DEB" \; &&
[[ -f $MC_DEB ]] &&