]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- rel 13 auto/th/cronie-1_4_8-13
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 8 Feb 2012 11:37:58 +0000 (11:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't exit from trigger

Changed files:
    cronie.spec -> 1.56

cronie.spec

index 9a803b2f96712b5758700cb4ecb50ebcd9f04d46..da2b807873ee5190e232b9b9014badf36dfcd597 100644 (file)
@@ -17,7 +17,7 @@
 Summary:       Cron daemon for executing programs at set times
 Name:          cronie
 Version:       1.4.8
-Release:       12
+Release:       13
 License:       MIT and BSD and GPL v2
 Group:         Daemons
 Source0:       https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
@@ -179,17 +179,18 @@ if [ "$1" = "0" ]; then
 fi
 %systemd_reload
 
-%triggerpostun -- cronie < 1.4.8-11
+%triggerpostun -- cronie < 1.4.8-13
 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
+       if [ -n "$__CROND_ARGS" ]; then
+               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
 fi
 %systemd_trigger cronie.service
 
This page took 0.04014 seconds and 4 git commands to generate.