corrected selection of mirrors by country
Signed-off-by: Michael Picht <mipi@fsfe.org>
This commit is contained in:
parent
08f81dfcd0
commit
870666d355
1 changed files with 3 additions and 1 deletions
4
archfi
4
archfi
|
@ -758,7 +758,9 @@ installmenu(){
|
|||
}
|
||||
|
||||
selectmirrorsbycountry() {
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
||||
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 )
|
||||
options=()
|
||||
IFS_ORIG=$IFS
|
||||
|
|
Loading…
Reference in a new issue