From 0a59c82c033e402fa387ca476ed655b1b247a999 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 6 Feb 2012 16:26:57 +0000 Subject: [PATCH] - rel 11 - that's how you do it, blues Changed files: cronie.spec -> 1.54 --- cronie.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/cronie.spec b/cronie.spec index 700b39d..8c86ce2 100644 --- a/cronie.spec +++ b/cronie.spec @@ -17,7 +17,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.8 -Release: 10 +Release: 11 License: MIT and BSD and GPL v2 Group: Daemons Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz @@ -179,7 +179,18 @@ if [ "$1" = "0" ]; then fi %systemd_reload -%triggerpostun -- cronie < 1.4.8-9 +%triggerpostun -- cronie < 1.4.8-11 +if [ -f /etc/sysconfig/cron ]; then + . /etc/sysconfig/cron + __CROND_ARGS= + [ "$CROND_SYSLOG_RESULT" = "yes" ] && __CROND_ARGS="-s" + [ -n "$CROND_MAIL_PROG" ] && __CROND_ARGS="$__CROND_ARGS -m $CROND_MAIL_PROG" + [ -z "$__CROND_ARGS" ] && exit 0 + cp -f /etc/sysconfig/cron{,.rpmsave} + echo >>/etc/sysconfig/cron + echo "# Added by rpm trigger" >>/etc/sysconfig/cron + echo "CROND_ARGS=\"$CROND_ARGS $__CROND_ARGS\"" >>/etc/sysconfig/cron +fi %systemd_trigger cronie.service %triggerun -- hc-cron,fcron,vixie-cron -- 2.44.0