corrected selection of mirrors by country
Signed-off-by: Michael Picht <mipi@fsfe.org>
This commit is contained in:
parent
870666d355
commit
47a734cb2f
1 changed files with 1 additions and 1 deletions
2
archfi
2
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 )
|
||||
|
|
Loading…
Reference in a new issue