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 )