diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-05-23 13:29:08 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-05-29 16:10:19 -0700 |
commit | fa37edcb7569491067354e03a16f425b092a3e93 (patch) | |
tree | 8430c2b4f40f0e23105418f756212fc9dc92f7a4 /home/xyz/.local | |
parent | 7908687596d05bb0ef0962c123b2fd61f8113729 (diff) |
upd, reflector use `--delay 1`
Diffstat (limited to 'home/xyz/.local')
-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 1030fc5e..43d317a5 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -90,7 +90,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 () { |