- Avoid systemd service removal errors when uninstalling (bsc#1093165)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/csync2?expand=0&rev=47
This commit is contained in:
parent
bb91f7270b
commit
ef5120f467
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 14 14:10:16 UTC 2018 - kgronlund@suse.com
|
||||
|
||||
- Avoid systemd service removal errors when uninstalling (bsc#1093165)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 13:46:24 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package csync2
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,7 +20,7 @@ Name: csync2
|
||||
Version: 2.0+git.1461714863.10636a4
|
||||
Release: 0
|
||||
Summary: Cluster synchronization tool
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Clustering/HA
|
||||
Url: http://oss.linbit.com/csync2/
|
||||
#Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
|
||||
@ -109,7 +109,7 @@ EOF
|
||||
fi
|
||||
|
||||
%preun
|
||||
%service_del_preun csync2.socket csync2@.service
|
||||
%service_del_preun csync2.socket
|
||||
# Cleanup all databases upon last removal
|
||||
if [ $1 -eq 0 ]; then
|
||||
rm -f %{_localstatedir}/lib/csync2/*
|
||||
|
Loading…
Reference in New Issue
Block a user