mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: replace wget
with curl
on node-static-entry-point-download.sh
(#1406)
See: https://github.com/resin-io/etcher/pull/1365 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
159cc24e78
commit
66547c5abd
@ -19,7 +19,7 @@
|
||||
set -u
|
||||
set -e
|
||||
|
||||
./scripts/build/check-dependency.sh wget
|
||||
./scripts/build/check-dependency.sh curl
|
||||
|
||||
function usage() {
|
||||
echo "Usage: $0"
|
||||
@ -64,7 +64,7 @@ if [ "$ARGV_OPERATING_SYSTEM" == "win32" ]; then
|
||||
FILENAME="$FILENAME.exe"
|
||||
fi
|
||||
|
||||
CHECKSUM=$(wget --no-check-certificate -O - "$DOWNLOADS_BASEURL/SHASUMS256.txt" | grep "$FILENAME" | cut -d ' ' -f 1)
|
||||
CHECKSUM=$(curl --location "$DOWNLOADS_BASEURL/SHASUMS256.txt" | grep "$FILENAME" | cut -d ' ' -f 1)
|
||||
|
||||
./scripts/build/download-tool.sh \
|
||||
-u "$DOWNLOADS_BASEURL/$FILENAME" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user