Updating update-mirrors.

This commit is contained in:
Faerbit 2016-04-23 14:51:07 +02:00
parent d14a1fd52c
commit 20fad4bfba

View File

@ -106,7 +106,8 @@ update-mirrors() {
then
echo "Not supported on this architecture."
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
}