blob: ac3171cf10a03c0269111a9eebfc28d10401d042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
echo "==> generating mirrorlist32 using config file"
/usr/bin/reflector32 @/etc/xdg/reflector/reflector32.conf
# check to make sure reflector timer is activated
if [[ ! -L "/etc/systemd/system/timers.target.wants/reflector32.timer" ]]; then
echo "==$ it is suggested that you activate the reflector32 systemd timer"
echo "==$ to periodically update the mirrorlist32! Do the following:"
echo ""
echo " sudo systemctl enable --now reflector32.timer"
echo ""
fi
}
post_update() {
post_install
}
|