update rank mirrors script

This commit is contained in:
shibao 2023-10-30 12:25:23 -04:00
parent 490f2f3eb8
commit eb2b0f4093
3 changed files with 5 additions and 13 deletions

View File

@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -eoux pipefail
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
rankmirrors -n 20 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -eoux pipefail
yay -Syu \
--ignore=linux-lts \
--ignore=linux-lts-headers \
--ignore=zfs-linux-lts \
--ignore=zfs-linux-lts-headers

View File

@ -190,10 +190,10 @@ libva-utils
libvncserver
libxkbcommon
licenses
linux
linux-firmware
linux-firmware-qlogic
linux-lts
linux-lts-headers
linux-headers
lmms
logrotate
lshw
@ -290,6 +290,7 @@ qt5-imageformats
quodlibet
ranger
rar
rate-mirrors
realtime-privileges
remmina
retroarch
@ -361,6 +362,7 @@ util-linux
vi
vim
vkd3d
vlc
vnstat
vpnc
vulkan-mesa-layers