Make reflector optional

This commit is contained in:
exu 2024-09-16 20:46:08 +02:00
parent 4d6bebd628
commit b4bb386ff6

View File

@ -256,7 +256,9 @@ sudo timedatectl set-ntp true
systemctl --user enable --now ssh-agent systemctl --user enable --now ssh-agent
# enable reflector timer # enable reflector timer
sudo systemctl enable reflector.timer if [[ $(pacman -Q | grep reflector) ]]; then
sudo systemctl enable reflector.timer
fi
# enable vnstat # enable vnstat
sudo systemctl enable vnstat sudo systemctl enable vnstat