diff --git a/src/install.sh b/src/install.sh index e9931c6..75a8ae5 100644 --- a/src/install.sh +++ b/src/install.sh @@ -150,8 +150,12 @@ install() { local file="$STORAGE/boot.dmg" if ! download "$file" "$board" "$version"; then - rm -f "$file" - exit 60 + info "Retrying failed download in 5 seconds..." + sleep 5 + if ! download "$file" "$board" "$version"; then + rm -f "$file" + exit 60 + fi fi mv -f "$file" "$dest"