Update install.sh

This commit is contained in:
Kroese 2024-01-25 07:51:34 +01:00 committed by GitHub
parent be6a1ca9fc
commit 4ad0fdc5c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,8 @@ finishInstall() {
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
touch "$STORAGE/windows.bios"
else
rm -f "$STORAGE/windows.bios"
fi
rm -rf "$TMP"
@ -231,8 +233,7 @@ downloadImage() {
cd "$TMP"
if ! /run/mido.sh "$url"; then
error "Failed to download $url"
exit 68
return 1
fi
cd /run