Merge pull request #10059 from heitbaum/tools

tools/mkpkg/update_common_functions: replace wget with curl for fetching archives
This commit is contained in:
Christian Hewitt 2025-05-15 17:00:41 +04:00 committed by GitHub
commit 8c49fb9b9e
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() {