From 560848a26bef40aaf0ff8a2f84ffc465ad5bd6d2 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 15 Nov 2023 17:05:08 +0100 Subject: [PATCH] fix loop on pacsetup --- usr/bin/archboot-pacsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index de753a537..7c15431d4 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -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=""