aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Picht <mipi@fsfe.org>2019-12-08 06:41:04 +0100
committerMichael Picht <mipi@fsfe.org>2019-12-08 06:41:04 +0100
commit47a734cb2facb7949e70b789efe28bf9adbd3c09 (patch)
tree8d2a64261729b219337be89488805065686a5c73
parent870666d3558751bb5d56e7b5ef70655c5dee05fd (diff)
downloadhyperfi-47a734cb2facb7949e70b789efe28bf9adbd3c09.tar.lz
hyperfi-47a734cb2facb7949e70b789efe28bf9adbd3c09.tar.xz
hyperfi-47a734cb2facb7949e70b789efe28bf9adbd3c09.zip
corrected selection of mirrors by country
Signed-off-by: Michael Picht <mipi@fsfe.org>
-rw-r--r--archfi2
1 files changed, 1 insertions, 1 deletions
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 )