fix loop on pacsetup

This commit is contained in:
Tobias Powalowski 2023-11-15 17:02:28 +01:00
parent 1b8390bdab
commit 0ab18e8fee

View file

@ -54,6 +54,7 @@ _select_mirror() {
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
sleep 3
_SYNC_URL=""
fi
}