diff --git a/mlocate.spec b/mlocate.spec index 4197985..a6687fa 100644 --- a/mlocate.spec +++ b/mlocate.spec @@ -56,6 +56,7 @@ if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then /bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf fi %systemd_post mlocate-updatedb.timer +systemctl start mlocate-updatedb.timer %preun %systemd_preun mlocate-updatedb.timer