Accepting request 87268 from Base:System

- Ensure service_add_post is called in %post and not verify. (forwarded request 87078 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/87268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cronie?expand=0&rev=32
This commit is contained in:
Lars Vogdt 2011-10-11 14:52:19 +00:00 committed by Git OBS Bridge
commit 3d9d6dc7ef
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 7 12:11:17 UTC 2011 - fcrozat@suse.com
- Ensure service_add_post is called in %post and not verify.
-------------------------------------------------------------------
Thu Sep 29 09:17:49 UTC 2011 - fcrozat@suse.com

View File

@ -173,9 +173,10 @@ if [ -e /var/run/update_from_old_cron ]; then
fi
%{fillup_and_insserv -y cron}
%run_permissions
%service_add_post cron.service
%verifyscript
%verify_permissions -e /etc/crontab -e /usr/bin/crontab
%service_add_post cron.service
%preun
%stop_on_removal cron