Replace buildah copy with mount

This commit is contained in:
2025-04-24 12:16:27 -04:00
parent dad1db73fb
commit 77b6b8de30

View File

@@ -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"