summaryrefslogtreecommitdiff
path: root/imapd
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2008-03-11 16:02:38 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2008-03-11 16:02:38 (GMT)
commitd2b7fedb37207cf0db21e30edd2c18e44caebabe (patch)
treef2d053460116f3f37136e8038dce6b3133b7bd22 /imapd
parent5b72861e6f6a685c90b2dd799c615c2b150970a4 (diff)
downloadserver-d2b7fedb37207cf0db21e30edd2c18e44caebabe.tar.gz
Fix kolab/issue2541 (openpkg rpm -e imapd removes annotations.db and mailboxes.db)
(still named imapd-2.3.11-20080101_kolab2 since no package was releaed)
Diffstat (limited to 'imapd')
-rw-r--r--imapd/kolab.patch12
1 files changed, 11 insertions, 1 deletions
diff --git a/imapd/kolab.patch b/imapd/kolab.patch
index 8eabb31..9071c89 100644
--- a/imapd/kolab.patch
+++ b/imapd/kolab.patch
@@ -1,5 +1,5 @@
--- imapd.spec.orig 2008-01-01 15:31:56.000000000 +0100
-+++ imapd.spec 2008-03-11 16:45:35.584783000 +0100
++++ imapd.spec 2008-03-11 17:00:23.964783000 +0100
@@ -32,7 +32,7 @@
Group: Mail
License: BSD
@@ -37,3 +37,13 @@
# add optional DRAC file support
%if "%{with_drac}" == "yes"
%{l_shtool} subst -e 's;@DRACLIBS@;-ldrac;g' contrib/drac_auth.patch
+@@ -410,9 +417,6 @@
+ # before erase, stop service and remove log and temporary files
+ if [ $1 -eq 0 ]; then
+ %{l_rc} imapd stop 2>/dev/null
+- rm -f $RPM_INSTALL_PREFIX/var/imapd/*.db >/dev/null 2>&1 || true
+- rm -f $RPM_INSTALL_PREFIX/var/imapd/db.backup* >/dev/null 2>&1 || true
+- rm -f $RPM_INSTALL_PREFIX/var/imapd/log/*.log >/dev/null 2>&1 || true
+ rm -f $RPM_INSTALL_PREFIX/var/imapd/socket/* >/dev/null 2>&1 || true
+ rm -rf $RPM_INSTALL_PREFIX/var/imapd/tmp/* >/dev/null 2>&1 || true
+ fi