Skip to content

Commit

Permalink
apt-utils: fix hard-coded GHPROXY_ADDRESS
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate authored and igorpecovnik committed Dec 18, 2024
1 parent cbfa3f8 commit b11a6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/general/apt-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b11a6fd

Please sign in to comment.