diff --git a/zlibs/imaging b/zlibs/imaging index bb8a710..8577c93 100644 --- a/zlibs/imaging +++ b/zlibs/imaging @@ -140,12 +140,10 @@ image_pack_dist() { zerr } - _xz=(xz -zv) - [[ $(command -v pixz) ]] && _xz=(pixz) - notice "compressing image with $_xz" + notice "compressing image with xz" silly pushd $workdir - ${=_xz} "${image_name}.img" + xz -zv "${image_name}.img" notice "generating sha256 for ${image_name}.img.xz" sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha