VM: show progress bar while downloading (#3634)

This commit is contained in:
CanbiZ 2025-04-03 16:01:23 +02:00 committed by GitHub
parent c231e56302
commit e55f3f77fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 14 additions and 14 deletions

View file

@ -254,7 +254,7 @@ URL=https://download.mikrotik.com/routeros/7.15.3/chr-7.15.3.img.zip
sleep 2
msg_ok "${CL}${BL}${URL}${CL}"
curl -fsSL -o "$(basename "$URL")" "$URL"
curl -f#SL -o "$(basename "$URL")" "$URL"
echo -en "\e[1A\e[0K"
FILE=$(basename $URL)
msg_ok "Downloaded ${CL}${BL}$FILE${CL}"