From 2cb704a0a28d27f242f8d24dcc526aa121407d5e Mon Sep 17 00:00:00 2001 From: yova Date: Fri, 15 Apr 2022 23:36:41 +0200 Subject: [PATCH] allow gitlab dl --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 492cd5f..057eb30 100755 --- a/update.sh +++ b/update.sh @@ -164,7 +164,7 @@ for object in $(echo "$stuff_download" | select_word 1); do objectname="$(basename "$objecturl")"; objectfile="$tmpdir/$objectname"; echo " ---- Downloading $objecturl"; - curl -fL "$objecturl" -o "$objectfile" || { echo "ERROR: $object failed to download"; continue; } + wget "$objecturl" -O "$objectfile" || { echo "ERROR: $object failed to download"; continue; } objectcksum="$(cksum "$objectfile" | select_word 1)"; echo "FILE: $object, URL: $objecturl, CKSUM: $objectcksum;" >> "$updatelog"; ;;