changed from service on boot to weekly timer

This commit is contained in:
Afonso Franco 2023-03-15 21:39:30 +00:00
parent 3ba2639680
commit 0540e5cf9c
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -13,7 +13,7 @@ init() {
pacman -S reflector --noconfirm pacman -S reflector --noconfirm
echo 'Generating mirrorlist...' echo 'Generating mirrorlist...'
printf "--save /etc/pacman.d/mirrorlist\n--protocol https\n--country Portugal,Spain,France,Unite\ Kigdom,Germany,Netherlands\n--latest 50\n--score 10\n--sort rate" | tee /etc/xdg/reflector/reflector.conf printf "--save /etc/pacman.d/mirrorlist\n--protocol https\n--country Portugal,Spain,France,Unite\ Kigdom,Germany,Netherlands\n--latest 50\n--score 10\n--sort rate" | tee /etc/xdg/reflector/reflector.conf
systemctl enable --now reflector.service systemctl enable --now reflector.timer
pacman -S sed pacman -S sed
echo "Performing config changes to pacman" echo "Performing config changes to pacman"
pacman_vars pacman_vars