Explorar o código

Replace buildah copy with mount

bryan hai 3 días
pai
achega
77b6b8de30
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -775,7 +775,7 @@ acquire_deb_new() {
     sudo buildah run "$CNT" -- sh -c "
       apt-get download --quiet --allow-unauthenticated mediacenter$MC_MVERSION" &&
     mnt="$(sudo buildah mount "$CNT")"
-    sudo cp "$mnt"/*.deb "$MC_DEB" &&
+    sudo find "$mnt" -maxdepth 1 -type f -name "*.deb" -exec cp {} "$MC_DEB" \;
     sudo buildah umount "$CNT" &&
     sudo buildah rm "$CNT"