mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Create refresh_mirrors
This commit is contained in:
parent
af1000ec3f
commit
b937ee47ea
5
.local/bin/refresh_mirrors
Normal file
5
.local/bin/refresh_mirrors
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
error() { clear; printf "ERROR:\\n%s\\n" "$1"; exit;}
|
||||
|
||||
reflector --verbose --latest 100 --sort rate --save /etc/pacman.d/mirrorlist || error "Couldn't refresh mirrors"
|
||||
Loading…
x
Reference in New Issue
Block a user