Replace buildah copy with mount
This commit is contained in:
@@ -775,7 +775,7 @@ acquire_deb_new() {
|
|||||||
sudo buildah run "$CNT" -- sh -c "
|
sudo buildah run "$CNT" -- sh -c "
|
||||||
apt-get download --quiet --allow-unauthenticated mediacenter$MC_MVERSION" &&
|
apt-get download --quiet --allow-unauthenticated mediacenter$MC_MVERSION" &&
|
||||||
mnt="$(sudo buildah mount "$CNT")"
|
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 umount "$CNT" &&
|
||||||
sudo buildah rm "$CNT"
|
sudo buildah rm "$CNT"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user