From 8506e92328fcdb34c6fb60157d3754868592c3ab Mon Sep 17 00:00:00 2001 From: Gabor Szarnyas Date: Sun, 5 Jan 2025 14:15:43 +0100 Subject: [PATCH] Use curl instead of wget in download script Fixes #4456 --- data/installation-data-1.1.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/installation-data-1.1.yml b/data/installation-data-1.1.yml index 74017f054e..9ac32f504d 100644 --- a/data/installation-data-1.1.yml +++ b/data/installation-data-1.1.yml @@ -66,7 +66,7 @@ has_sha_512_hash: 'yes' link: https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-osx-universal.zip installation_code: >- - wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-osx-universal.zip && + curl --fail --location --progress-bar --output duckdb_cli-osx-universal.zip https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-osx-universal.zip && unzip duckdb_cli-osx-universal.zip usage_example: ./duckdb - variant: stable @@ -77,7 +77,7 @@ has_sha_512_hash: 'yes' link: https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-amd64.zip installation_code: >- - wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-amd64.zip && + curl --fail --location --progress-bar --output duckdb_cli-linux-amd64.zip https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-amd64.zip && unzip duckdb_cli-linux-amd64.zip usage_example: ./duckdb - variant: stable @@ -88,7 +88,7 @@ has_sha_512_hash: 'yes' link: https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-aarch64.zip installation_code: >- - wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-aarch64.zip && + curl --fail --location --progress-bar --output duckdb_cli-linux-aarch64.zip https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-aarch64.zip && unzip duckdb_cli-linux-aarch64.zip usage_example: ./duckdb - variant: stable @@ -222,7 +222,7 @@ architecture: universal link: 'https://artifacts.duckdb.org/latest/duckdb-binaries-osx.zip' installation_code: >- - wget https://artifacts.duckdb.org/latest/duckdb-binaries-osx.zip && + curl --fail --location --progress-bar --output duckdb-binaries-osx.zip https://artifacts.duckdb.org/latest/duckdb-binaries-osx.zip && unzip duckdb-binaries-osx.zip && unzip duckdb_cli-osx-universal.zip usage_example: ./duckdb @@ -233,7 +233,7 @@ architecture: x86_64 link: 'https://artifacts.duckdb.org/latest/duckdb-binaries-linux.zip' installation_code: >- - wget https://artifacts.duckdb.org/latest/duckdb-binaries-linux.zip && + curl --fail --location --progress-bar --output duckdb-binaries-linux.zip https://artifacts.duckdb.org/latest/duckdb-binaries-linux.zip && unzip duckdb-binaries-linux.zip && unzip duckdb_cli-linux-amd64.zip usage_example: ./duckdb @@ -244,7 +244,7 @@ architecture: arm64 link: 'https://artifacts.duckdb.org/latest/duckdb-binaries-linux-aarch64.zip' installation_code: >- - wget https://artifacts.duckdb.org/latest/duckdb-binaries-linux-aarch64.zip && + curl --fail --location --progress-bar --output duckdb-binaries-linux-aarch64.zip https://artifacts.duckdb.org/latest/duckdb-binaries-linux-aarch64.zip && unzip duckdb-binaries-linux-aarch64.zip && unzip duckdb_cli-linux-aarch64.zip usage_example: ./duckdb