mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix loop on pacsetup
This commit is contained in:
parent
27e0925bee
commit
9f7dbb3a19
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ _select_mirror() {
|
|||
sed -i -e 's|^Server|#Server|g' /etc/pacman.d/mirrorlist
|
||||
#shellcheck disable=SC2027,SC2086
|
||||
echo "Server = "${_SYNC_URL}"" >> /etc/pacman.d/mirrorlist
|
||||
if ! pacman -Sy; then
|
||||
if ! pacman -Sy &>${_NO_LOG}; then
|
||||
_dialog --title " ERROR " --no-mouse --infobox "Your selected mirror is not working correctly, please configure again!" 3 75
|
||||
sleep 3
|
||||
_SYNC_URL=""
|
||||
|
|
Loading…
Reference in a new issue