From 47a734cb2facb7949e70b789efe28bf9adbd3c09 Mon Sep 17 00:00:00 2001 From: Michael Picht Date: Sun, 8 Dec 2019 06:41:04 +0100 Subject: [PATCH] corrected selection of mirrors by country Signed-off-by: Michael Picht --- archfi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archfi b/archfi index c8a894e..001fa2b 100644 --- a/archfi +++ b/archfi @@ -758,7 +758,7 @@ installmenu(){ } selectmirrorsbycountry() { - if [[ -f /etc/pacman.d/mirrorlist.backup ]]; then + if [[ ! -f /etc/pacman.d/mirrorlist.backup ]]; then cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup fi items=$( sed -n "/^##.*/N; {s/^## \(.*\)\nServer.*/\1/p}" < /etc/pacman.d/mirrorlist.backup | sort -u )