Update install.sh

This commit is contained in:
Kroese 2024-05-02 17:05:51 +02:00 committed by GitHub
parent 40ec19556d
commit 14b72b4d6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,7 +181,7 @@ detectCustom() {
if [ -n "$CUSTOM" ]; then
local size
size="$(stat -c%s "$STORAGE/$CUSTOM")"
local file="windows_$size.iso"
local file="windows.$size.iso"
[ -f "$STORAGE/$file" ] && CUSTOM="$file"
fi
@ -935,7 +935,7 @@ fi
if ! rm -f "$ISO" 2> /dev/null; then
size="$(stat -c%s "$ISO")"
BASE="windows_$size.iso"
BASE="windows.$size.iso"
ISO="$STORAGE/$BASE"
rm -f "$ISO"
fi