Unverified Commit 4ce68370 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Show progress message

parent 871a4b4d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -239,9 +239,11 @@ if [ -z "$BOOT" ] || [[ "$BOOT" == *"example.com/image.iso" ]]; then
  warn "no value specified for the BOOT variable, defaulting to \"alpine\"."
fi

url=$(getURL "$BOOT" "url") || exit 34
name=$(getURL "$BOOT" "name") || exit 34

echo "Retrieving latest $name version..."

url=$(getURL "$BOOT" "url") || exit 34
[ -n "$url" ] && BOOT="$url"

if [[ "$BOOT" != *"."* ]]; then