mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix loop on pacsetup
This commit is contained in:
parent
1b8390bdab
commit
0ab18e8fee
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ _select_mirror() {
|
||||||
echo "Server = "${_SYNC_URL}"" >> /etc/pacman.d/mirrorlist
|
echo "Server = "${_SYNC_URL}"" >> /etc/pacman.d/mirrorlist
|
||||||
if ! pacman -Sy; then
|
if ! pacman -Sy; then
|
||||||
_dialog --title " ERROR " --no-mouse --infobox "Your mirror is not working correctly, please configure again!" 3 60
|
_dialog --title " ERROR " --no-mouse --infobox "Your mirror is not working correctly, please configure again!" 3 60
|
||||||
|
sleep 3
|
||||||
_SYNC_URL=""
|
_SYNC_URL=""
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue