apt-utils: fix hard-coded GHPROXY_ADDRESS

This commit is contained in:
amazingfate
2024-12-18 11:52:34 +08:00
committed by Igor
parent cbfa3f8376
commit b11a6fd872

View File

@@ -43,7 +43,7 @@ function apt_find_upstream_package_version_and_download_url() {
# get json with latest pacakge info generated by GHA
case "${GITHUB_MIRROR}" in
"ghproxy")
package_info_download_url="https://ghp.ci/https://raw.githubusercontent.com/armbian/armbian.github.io/refs/heads/data/data/${sought_package_name}.json"
package_info_download_url="https://${GHPROXY_ADDRESS}/https://raw.githubusercontent.com/armbian/armbian.github.io/refs/heads/data/data/${sought_package_name}.json"
;;
*)
package_info_download_url="https://github.armbian.com/${sought_package_name}.json"