From 2362a591469c238e23afff5c87341d89df2b38e3 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 30 Jul 2024 21:18:44 +0200 Subject: [PATCH] update comment --- usr/bin/archboot-pacsetup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index 4d73c29e5..7338a30ca 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -41,9 +41,7 @@ _select_mirror() { "" 2>"${_ANSWER}" || _SYNC_URL="" _SYNC_URL=$(cat "${_ANSWER}") else - # Form the full URL for our mirror by grepping for the server name in - # our mirrorlist and pulling the full URL out and ensure that if it - # was listed twice we only return one line for the mirror. + # get URL from _PACMAN_MIRROR and only show 1 result _SYNC_URL=$(rg -m1 -o "${_SERVER}.*" "${_PACMAN_MIRROR}") fi echo "Using mirror: ${_SYNC_URL}" >"${_LOG}"