From 7018b29f7d83ed1ec56e52eba3c9aa717a922cc7 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 11 Dec 2023 21:57:25 +0100 Subject: [PATCH] minor --- build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 0771387..ccc23a6 100644 --- a/build.sh +++ b/build.sh @@ -104,11 +104,10 @@ if [ "$VM_ISO_LINK" ]; then done elif [ "$VM_VHD_LINK" ]; then - if [ ! -e "$osname.qcow2.xz" ]; then - $vmsh download "$VM_VHD_LINK" $osname.qcow2.xz - fi - if [ ! -e "$osname.qcow2" ]; then + if [ ! -e "$osname.qcow2.xz" ]; then + $vmsh download "$VM_VHD_LINK" $osname.qcow2.xz + fi xz -d -T 0 --verbose "$osname.qcow2.xz" fi