Procházet zdrojové kódy

Explicit target for apt-get download

bryan před 3 dny
rodič
revize
02dc5e5ce4
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

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