mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
update comment
This commit is contained in:
parent
65a834b5cf
commit
321e70479a
1 changed files with 2 additions and 3 deletions
|
@ -42,9 +42,8 @@ _select_mirror() {
|
||||||
_SYNC_URL=$(cat "${_ANSWER}")
|
_SYNC_URL=$(cat "${_ANSWER}")
|
||||||
else
|
else
|
||||||
# Form the full URL for our mirror by grepping for the server name in
|
# Form the full URL for our mirror by grepping for the server name in
|
||||||
# our mirrorlist and pulling the full URL out. Substitute 'core' in
|
# our mirrorlist and pulling the full URL out and ensure that if it
|
||||||
# for the repository name, and ensure that if it was listed twice we
|
# was listed twice we only return one line for the mirror.
|
||||||
# only return one line for the mirror.
|
|
||||||
_SYNC_URL=$(rg -o "${_SERVER}.*" "${_PACMAN_MIRROR}" | head -n1)
|
_SYNC_URL=$(rg -o "${_SERVER}.*" "${_PACMAN_MIRROR}" | head -n1)
|
||||||
fi
|
fi
|
||||||
echo "Using mirror: ${_SYNC_URL}" >"${_LOG}"
|
echo "Using mirror: ${_SYNC_URL}" >"${_LOG}"
|
||||||
|
|
Loading…
Reference in a new issue