mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add option to override default ubuntu arhive (#3446)
This commit is contained in:
@@ -590,6 +590,10 @@ fi
|
|||||||
|
|
||||||
if [[ "${ARCH}" == "amd64" ]]; then
|
if [[ "${ARCH}" == "amd64" ]]; then
|
||||||
UBUNTU_MIRROR='archive.ubuntu.com/ubuntu' # ports are only for non-amd64, of course.
|
UBUNTU_MIRROR='archive.ubuntu.com/ubuntu' # ports are only for non-amd64, of course.
|
||||||
|
|
||||||
|
if [[ -n ${CUSTOM_UBUNTU_MIRROR} ]]; then # ubuntu redirector doesn't work well on amd64
|
||||||
|
UBUNTU_MIRROR="${CUSTOM_UBUNTU_MIRROR}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't use mirrors that throws garbage on 404
|
# don't use mirrors that throws garbage on 404
|
||||||
|
|||||||
Reference in New Issue
Block a user