Update install.sh
This commit is contained in:
parent
c76fd848e5
commit
cd5799694e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue