File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
.gitmodules
7
7
Dockerfile
8
8
Dockerfile.archive
9
+ compose.yml
10
+ compose.yaml
9
11
docker-compose.yml
10
-
12
+ docker-compose.yaml
11
13
* .md
Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ startInstall() {
316
316
317
317
fi
318
318
319
+ rm -rf " $TMP "
319
320
mkdir -p " $TMP "
320
321
321
322
if [ ! -f " $STORAGE /$CUSTOM " ]; then
@@ -325,7 +326,6 @@ startInstall() {
325
326
ISO=" $STORAGE /$CUSTOM "
326
327
fi
327
328
328
- rm -f " $TMP /$BASE "
329
329
return 0
330
330
}
331
331
@@ -445,6 +445,9 @@ downloadImage() {
445
445
446
446
info " Failed to download $desc using Mido, will try a different method now..."
447
447
448
+ rm -rf " $TMP "
449
+ mkdir -p " $TMP "
450
+
448
451
ISO=" $TMP /$VERSION .esd"
449
452
iso=" $ISO "
450
453
file=" $ISO "
@@ -573,6 +576,7 @@ extractImage() {
573
576
574
577
if [[ " ${iso,,} " == * " .esd" ]]; then
575
578
if ! extractESD " $iso " " $dir " ; then
579
+ rm -f " $iso "
576
580
error " Failed to extract ESD file!"
577
581
exit 67
578
582
fi
@@ -604,6 +608,7 @@ extractImage() {
604
608
rm -rf " $dir "
605
609
606
610
if ! 7z x " $iso " -o" $dir " > /dev/null; then
611
+ rm -f " $iso "
607
612
error " Failed to extract ISO file!"
608
613
exit 66
609
614
fi
You can’t perform that action at this time.
0 commit comments