Start timer after the package installation

Resolves: #1278587
This commit is contained in:
Michal Sekletar 2016-03-18 13:46:55 +01:00
parent 66cc3660cd
commit b99e52d497

View File

@ -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