Updating update-mirrors.
This commit is contained in:
parent
d14a1fd52c
commit
20fad4bfba
@ -106,7 +106,8 @@ update-mirrors() {
|
|||||||
then
|
then
|
||||||
echo "Not supported on this architecture."
|
echo "Not supported on this architecture."
|
||||||
else
|
else
|
||||||
sudo sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist"
|
sudo sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist_"
|
||||||
|
sudo sed -i 's/mirrorlist$/mirrorlist_/g' /etc/pacman.conf
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user