mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
update pacsetup
This commit is contained in:
parent
807e91294c
commit
905bb2592b
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ _select_mirror() {
|
|||
fi
|
||||
fi
|
||||
# This regex doesn't honor commenting
|
||||
_MIRRORS=$(rg -o '(https://[^/]*)' -r '$1 _')
|
||||
[[ -z ${_MIRRORS} ]] && _MIRRORS=$(rg -o '(http)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _')
|
||||
_MIRRORS="$(rg -o '(https://[^/]*)' -r '$1 _' ${_PACMAN_MIRROR})"
|
||||
[[ -z ${_MIRRORS} ]] && _MIRRORS="$(rg -o '(https://[^/]*)' -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
|
||||
|
|
Loading…
Reference in a new issue