Update install.sh

This commit is contained in:
Kroese 2024-05-05 13:06:11 +02:00 committed by GitHub
parent 31417a71a1
commit 3ac9c9a4d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -419,9 +419,10 @@ downloadImage() {
tried="y"
if getESD "$TMP/esd" "$version"; then
ISO="${ISO/.iso/.esd}"
local prev="$ISO"
ISO="${ISO%.*}.esd"
downloadFile "$ISO" "$ESD" "$ESD_SUM" "$ESD_SIZE" "$desc" && return 0
ISO="${ISO/.esd/.iso}"
ISO="$prev"
fi
fi