]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- rel 11 auto/th/cronie-1_4_8-11
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Feb 2012 16:26:57 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- that's how you do it, blues

Changed files:
    cronie.spec -> 1.54

cronie.spec

index 700b39da8d083e4b5c8c3830bcacb504c8a0efaf..8c86ce21c66f3ce327ad862bbedcaffb31cd005f 100644 (file)
@@ -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
This page took 0.040913 seconds and 4 git commands to generate.