fix loop on pacsetup

This commit is contained in:
Tobias Powalowski 2023-11-15 17:03:38 +01:00
parent 0ab18e8fee
commit 27e0925bee

View file

@ -53,7 +53,7 @@ _select_mirror() {
#shellcheck disable=SC2027,SC2086
echo "Server = "${_SYNC_URL}"" >> /etc/pacman.d/mirrorlist
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 selected mirror is not working correctly, please configure again!" 3 75
sleep 3
_SYNC_URL=""
fi