mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix pacsetup and clock setting
This commit is contained in:
parent
453dc0c236
commit
e295506684
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ _select_mirror() {
|
||||||
fi
|
fi
|
||||||
# This regex doesn't honor commenting
|
# This regex doesn't honor commenting
|
||||||
_MIRRORS=$(rg -o '(https)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _')
|
_MIRRORS=$(rg -o '(https)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _')
|
||||||
[[ -z ${_MIRRORS} ]] && _MIRRORS=$(rg -o '(http)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _'|)
|
[[ -z ${_MIRRORS} ]] && _MIRRORS=$(rg -o '(http)://[^/]*' "${_PACMAN_MIRROR}" | sd '$' ' _')
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --cancel-label "${_LABEL}" --title " Package Mirror " --menu "" 13 55 7 \
|
_dialog --cancel-label "${_LABEL}" --title " Package Mirror " --menu "" 13 55 7 \
|
||||||
"Custom Mirror" "_" ${_MIRRORS} 2>${_ANSWER} || return 1
|
"Custom Mirror" "_" ${_MIRRORS} 2>${_ANSWER} || return 1
|
||||||
|
|
Loading…
Reference in a new issue