Update install.sh

This commit is contained in:
Kroese 2025-03-15 13:57:29 +01:00 committed by GitHub
parent c76fd848e5
commit cd5799694e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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