mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
WTF git
This commit is contained in:
commit
c4d9fca432
@ -1,15 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
run_reflector(){
|
|
||||||
dialog --title "Refresh mirrors" --yesno "Run reflector? It might speed up package downloads." 7 60
|
|
||||||
response=$?
|
|
||||||
case $response in
|
|
||||||
0) reflector --verbose --latest 100 --sort rate --save /etc/pacman.d/mirrorlist &> /dev/null ;;
|
|
||||||
1) notify-send "Refreshed repo mirrors" && exit 0 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
run_reflector
|
|
||||||
clear
|
|
||||||
notify-send "Refreshed repo mirrors"
|
|
||||||
exit 0
|
|
||||||
Loading…
x
Reference in New Issue
Block a user