From 807e91294c407b1466d2b2090ba3824b9e6fbfaf Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 27 Jun 2024 09:54:40 +0200 Subject: [PATCH] update pacsetup --- usr/bin/archboot-pacsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index 59a074682..759dc2005 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -29,7 +29,7 @@ _select_mirror() { fi fi # This regex doesn't honor commenting - _MIRRORS=$(rg -o '(https)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _') + _MIRRORS=$(rg -o '(https://[^/]*)' -r '$1 _') [[ -z ${_MIRRORS} ]] && _MIRRORS=$(rg -o '(http)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _') #shellcheck disable=SC2086 _dialog --cancel-label "${_LABEL}" --title " Package Mirror " --menu "" 13 55 7 \