From 866026ee6926e0c4caad9a62b5a97ac19518e6a7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Jan 2024 01:43:17 +0100 Subject: [PATCH] Support download resuming --- src/install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index f433cc8..c21cf68 100644 --- a/src/install.sh +++ b/src/install.sh @@ -74,7 +74,6 @@ html "$MSG" [ -f "$STORAGE/$BASE" ] && return 0 TMP="$STORAGE/tmp" -rm -rf "$TMP" mkdir -p "$TMP" ISO="$TMP/$BASE" @@ -311,7 +310,7 @@ info "$MSG" && html "$MSG" genisoimage -b "$ETFS" -no-emul-boot -c "$CAT" -iso-level 4 -J -l -D -N -joliet-long -relaxed-filenames -quiet -V "$LABEL" -udf \ -boot-info-table -eltorito-alt-boot -eltorito-boot "$EFISYS" -no-emul-boot -o "$OUT" -allow-limited-size "$DIR" -[ -n "$CUSTOM" ] && rm -f "$ISO" +[ -n "$CUSTOM" ] && rm -f "$STORAGE/$CUSTOM" mv "$OUT" "$STORAGE/$BASE" rm -rf "$TMP"