Accepting request 260505 from home:Ledest:misc
fix bashisms in pre scripts OBS-URL: https://build.opensuse.org/request/show/260505 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=137
This commit is contained in:
parent
0df5e36fe3
commit
34c3e20f82
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 03:14:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 22 09:39:02 UTC 2014 - kstreitova@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user