From 7ce262f59d5dc20985f5b631cb2ebc82aa79875c Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 17 Jul 2024 21:43:50 +0200 Subject: [PATCH] fallback to http mirror listing --- 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 7f4839d22..179105781 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -30,7 +30,7 @@ _select_mirror() { fi # This regex doesn't honor commenting _MIRRORS="$(rg -o '(https://[^/]*)' -r '$1 _' ${_PACMAN_MIRROR})" - [[ -z ${_MIRRORS} ]] && _MIRRORS="$(rg -o '(https://[^/]*)' -r '$1 _' ${_PACMAN_MIRROR})" + [[ -z ${_MIRRORS} ]] && _MIRRORS="$(rg -o '(http://[^/]*)' -r '$1 _' ${_PACMAN_MIRROR})" #shellcheck disable=SC2086 _dialog --cancel-label "${_LABEL}" --title " Package Mirror " --menu "" 13 55 7 \ "Custom Mirror" "_" ${_MIRRORS} 2>${_ANSWER} || return 1