refactor: replace all wget commands with curl

Standardize download commands across all build scripts:
- HashiCorp packages: wget -O → curl -o
- VictoriaMetrics packages: wget -O → curl -o
- Other packages: wget -O → curl -o, wget → curl -O
- Update dependency lists to use curl instead of wget

This change provides consistency across all packages and uses a single download tool.
This commit is contained in:
2025-09-29 21:59:01 +10:00
parent 46016bae5c
commit f125d59935
18 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -24,14 +24,14 @@ dnf install -y \
bash-completion \
gettext \
help2man \
wget
curl
# Download and extract incus source
wget -O /app/incus.tar.gz https://github.com/lxc/incus/archive/refs/tags/v${PACKAGE_VERSION}.tar.gz
curl -o /app/incus.tar.gz https://github.com/lxc/incus/archive/refs/tags/v${PACKAGE_VERSION}.tar.gz
tar -C /app -xf incus.tar.gz
# Install specific Go version
wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
curl -O https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
rm -rf /usr/local/go
tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz