1
0
spegling av https://github.com/dockur/windows.git synced 2026-06-12 13:19:34 +08:00

fix: Progress

This commit is contained in:
Kroese
2024-01-14 17:25:33 +01:00
committad av GitHub
förälder 89aeb9398c
incheckning dc7a1a667a
+7
Visa fil
@@ -6,6 +6,13 @@ set -Eeuo pipefail
BASE="$VERSION.iso" BASE="$VERSION.iso"
[ -f "$STORAGE/$BASE" ] && return 0 [ -f "$STORAGE/$BASE" ] && return 0
# Check if running with interactive TTY or redirected to docker log
if [ -t 1 ]; then
PROGRESS="--progress=bar:noscroll"
else
PROGRESS="--progress=dot:giga"
fi
URL="https://raw.githubusercontent.com/ElliotKillick/Mido/main/Mido.sh" URL="https://raw.githubusercontent.com/ElliotKillick/Mido/main/Mido.sh"
{ wget "$URL" -O "$STORAGE/Mido.sh" -q --no-check-certificate; rc=$?; } || : { wget "$URL" -O "$STORAGE/Mido.sh" -q --no-check-certificate; rc=$?; } || :