Update install.sh

This commit is contained in:
Kroese 2025-03-18 03:48:27 +01:00 committed by GitHub
parent 9c0ec65e5e
commit a64a6a6644
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,10 +222,8 @@ if [ -z "$BOOT" ] || [[ "$BOOT" == *"example.com/image.iso" ]]; then
error "No value specified for the BOOT variable." && exit 64
fi
! getURL "$BOOT" "test" && exit 34
url=$(getURL "$BOOT" "url")
name=$(getURL "$BOOT" "name")
url=$(getURL "$BOOT" "url") || exit 34
name=$(getURL "$BOOT" "name") || exit 34
[ -n "$url" ] && BOOT="$url"