diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-05-23 13:29:08 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-05-23 13:29:08 -0700 |
commit | 37208c1e34a2b20bd298e739b429676edda1a3ee (patch) | |
tree | 8b30ef631eb76e8ff8135a00c9667487b8712dc4 /home | |
parent | eb3986cfa086458a00d5748b668c1a47acdaf0a4 (diff) |
upd, reflector use `--delay 1`
Diffstat (limited to 'home')
-rwxr-xr-x | home/xyz/.local/bin/upd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 6f5bbe4a..1245ec22 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -91,7 +91,8 @@ refl () { # 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 + # need --delay so no super out of sync mirrors + sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --delay 1 --latest 25 --score 25 --fastest 10 } usb () { |