Quellcode durchsuchen

Quiet apt download warnings

bryan vor 3 Tagen
Ursprung
Commit
25d86465a3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -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 ]] &&