summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-02-15 01:36:45 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-02-15 01:36:45 -0800
commitaaf4431d1d786681146ce59cd19df5a189fc5dc0 (patch)
tree4bc109cc46e5f898c16e244811c4eec700a757e6 /home
parent157fd0d9e03822bc791e95e7b514cc340f525a08 (diff)
update
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/upd7
1 files changed, 6 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index e98ddbdb..9e1bbeee 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -82,7 +82,12 @@ qb () {
}
refl () {
- sudo reflector --verbose --save /etc/pacman.d/mirrorlist --score 50 --fastest 45
+ # why not use http:
+ # https://www.reddit.com/r/archlinux/comments/kx149z/should_i_use_http_mirrors/
+ # https://www.reddit.com/r/archlinux/comments/ej4k4d/is_it_safe_to_use_not_secured_http_pacman_mirrors/
+ # rsync may need to change XferCommand in /etc/pacman.conf
+ # https://www.reddit.com/r/archlinux/comments/mynw6e/rsync_mirrors_with_pacman/
+ sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --score 30 --latest 30 --fastest 10
}
usb () {