diff --git a/cronie.changes b/cronie.changes index 4c53b17..050212e 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 09 03:14:00 UTC 2014 - Led + +- fix bashisms in pre scripts + ------------------------------------------------------------------- Mon Sep 22 09:39:02 UTC 2014 - kstreitova@suse.com diff --git a/cronie.spec b/cronie.spec index 7719b20..71bfb77 100644 --- a/cronie.spec +++ b/cronie.spec @@ -17,7 +17,7 @@ # 3 : we don't need to do something with /etc/sysconfig/cron for now -%define cron_configs \{%{_sysconfdir}/pam.d/crond,%{_sysconfdir}/crontab,%{_sysconfdir}/cron.deny,%{_sysconfdir}/omc/srvinfo.d/cron.xml\} +%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny %{_sysconfdir}/omc/srvinfo.d/cron.xml Name: cronie Version: 1.4.12 Release: 0 @@ -153,7 +153,7 @@ install -v -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/omc/srvinfo.d/ # check if we are doing "ugly" update from old 4.1 vixie-cron check_cron_mail_feature=`%{_sbindir}/cron --help 2>&1 | %{_bindir}/grep mail` # vixie-cron 4.1 doesn't contain mail fature -if [ -e %{_sbindir}/cron -a "${check_cron_mail_feature}" == "" ]; then +if [ -e %{_sbindir}/cron -a -z "${check_cron_mail_feature}" ]; then # save configs for cronie post-install phase touch %{_localstatedir}/run/update_from_old_cron echo $1