fix post in scriptlets

This commit is contained in:
Marcela Mašláňová 2010-12-02 17:04:46 +01:00
parent 0361d4cf7f
commit 98378995c8

View File

@ -6,7 +6,7 @@
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.4.6
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT and BSD and ISC and GPLv2
Group: System Environment/Base
URL: https://fedorahosted.org/cronie
@ -130,8 +130,6 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add crond
# systemd
/bin/systemctl enable crond.service >/dev/null 2>&1 || :
%post anacron
[ -e /var/spool/anacron/cron.daily ] || touch /var/spool/anacron/cron.daily
@ -210,6 +208,9 @@ cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||:
%attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs
%changelog
* Thu Dec 02 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.6-4
- fix post (thanks plautrba for review)
* Tue Nov 30 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.6-3
- systemd init script 617320