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
6589c8eed5
commit
2362a59146
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@ _select_mirror() {
|
||||||
"" 2>"${_ANSWER}" || _SYNC_URL=""
|
"" 2>"${_ANSWER}" || _SYNC_URL=""
|
||||||
_SYNC_URL=$(cat "${_ANSWER}")
|
_SYNC_URL=$(cat "${_ANSWER}")
|
||||||
else
|
else
|
||||||
# Form the full URL for our mirror by grepping for the server name in
|
# get URL from _PACMAN_MIRROR and only show 1 result
|
||||||
# our mirrorlist and pulling the full URL out and ensure that if it
|
|
||||||
# was listed twice we only return one line for the mirror.
|
|
||||||
_SYNC_URL=$(rg -m1 -o "${_SERVER}.*" "${_PACMAN_MIRROR}")
|
_SYNC_URL=$(rg -m1 -o "${_SERVER}.*" "${_PACMAN_MIRROR}")
|
||||||
fi
|
fi
|
||||||
echo "Using mirror: ${_SYNC_URL}" >"${_LOG}"
|
echo "Using mirror: ${_SYNC_URL}" >"${_LOG}"
|
||||||
|
|
Loading…
Reference in a new issue