Merge "Fix openeuler mirror problem"

This commit is contained in:
Zuul 2023-03-22 21:39:19 +00:00 committed by Gerrit Code Review
commit 5d49a95082

View File

@ -1,3 +1,11 @@
#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
if [ -n "${DIB_DISTRIBUTION_MIRROR:-}" ]; then if [ -n "${DIB_DISTRIBUTION_MIRROR:-}" ]; then
# Only set the mirror for OS, everything, EPOL and update repositories, # Only set the mirror for OS, everything, EPOL and update repositories,
# The others (debuginfo and source) aren't mirrored since they do not exist on all mirrors # The others (debuginfo and source) aren't mirrored since they do not exist on all mirrors