URI: 
       tRemove the raw VM image if not requested at build time. - libdevuansdk - common library for devuan's simple distro kits
  HTML git clone https://git.parazyd.org/libdevuansdk
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 9a1874d072468eba55746aae926bbee235652da1
   DIR parent aedf124832b7643ab3f215395cb6083a9cf2db7f
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 13 Nov 2020 11:21:31 +0100
       
       Remove the raw VM image if not requested at build time.
       
       Diffstat:
         M zlibs/vm                            |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/zlibs/vm b/zlibs/vm
       t@@ -90,6 +90,10 @@ vm_pack_dist()
                        $_xzcomp "${image_name}.vdi" || { zerr; return 1; }
                fi
        
       +        if [[ "$imageformat" != raw ]]; then
       +                rm -f "${image_name}.img"
       +        fi
       +
                act "Calculating sha256 checksums"
                silly
                sha256sum "${image_name}.${_rsuffix}" > "${image_name}.${_rsuffix}.sha256"