Accepting request 515194 from network:samba:STABLE

OBS-URL: https://build.opensuse.org/request/show/515194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=219
This commit is contained in:
Yuchen Lin 2017-08-12 18:07:30 +00:00 committed by Git OBS Bridge
commit 689ff63468
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 8 12:58:56 UTC 2017 - dmulder@suse.com
- Fix duplicate CTDB_LOGGING params when downgraded and upgraded again;
(bsc#1048339).
-------------------------------------------------------------------
Mon Jul 24 13:34:55 UTC 2017 - ddiss@suse.com

View File

@ -1628,7 +1628,8 @@ fi
%service_add_pre ctdb.service
%endif
if [ -e %{_sysconfdir}/sysconfig/ctdb ] ; then
sed -i s/CTDB_LOGFILE=/CTDB_LOGGING=file:/g %{_sysconfdir}/sysconfig/ctdb
grep CTDB_LOGGING %{_sysconfdir}/sysconfig/ctdb >/dev/null 2>&1 ||
sed -i s/CTDB_LOGFILE=/CTDB_LOGGING=file:/g %{_sysconfdir}/sysconfig/ctdb
fi
%preun -n ctdb