From 25545a33aab48c1c9780e5a634d5f94d623f8930 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 6 Aug 2016 13:14:38 +0800 Subject: download files with wget's -c option --- buildlive | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'buildlive') diff --git a/buildlive b/buildlive index 54cfc35..1c87087 100755 --- a/buildlive +++ b/buildlive @@ -66,11 +66,10 @@ echo "uuid=$UUID" > "$GRUBCFG" for i in ${DISTROLIST[@]} do process_distro "$i" - if [ -f "isofiles/$ISOFILE" ]; then - checksum_verify + if [ -f "isofiles/$ISOFILE" ] && checksum_verify; then + true else download_iso - checksum_verify fi install_live -- cgit v1.2.3