fix loop on pacsetup

This commit is contained in:
Tobias Powalowski 2023-11-15 17:05:08 +01:00
parent 9f7dbb3a19
commit 560848a26b

View file

@ -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 &>${_NO_LOG}; then
if ! pacman -Sy &>${_LOG}; then
_dialog --title " ERROR " --no-mouse --infobox "Your selected mirror is not working correctly, please configure again!" 3 75
sleep 3
_SYNC_URL=""