Merge pull request #10060 from heitbaum/tools12

tools/mkpkg/update_common_functions: replace wget with curl for fetching archive
This commit is contained in:
Christian Hewitt 2025-05-15 17:01:02 +04:00 committed by GitHub
commit 353d56a493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -136,7 +136,7 @@ set_pkg_version() {
download_pkg_file() {
local pkg_name="$1"
local pkg_url=$(get_pkg_var "${pkg_name}" PKG_URL)
wget -q -O "${TMP_PKG_FILE}" "${pkg_url}"
curl -q --location --max-redirs 5 --output "${TMP_PKG_FILE}" "${pkg_url}"
}
extract_pkg_file() {