we need to use citadel setup in prerm, it doesn't exist anymore on postrm
authorWilfried Göesgens <willi@citadel.org>
Tue, 31 Jan 2006 22:44:08 +0000 (22:44 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 31 Jan 2006 22:44:08 +0000 (22:44 +0000)
citadel/ChangeLog
citadel/debian/citadel-server.postrm
citadel/debian/citadel-server.prerm [new file with mode: 0644]

index 9ab86dc856ea7bf3530c3ca47ae521129d9cc869..add527f4d5f7ed55db18e86e72144bbcc670b75e 100644 (file)
@@ -1,5 +1,8 @@
 $Id$
 
+Di Jan 31 23:32:38 CET 2006 dothebart
+  we need to use citadel setup in prerm, it doesn't exist anymore on postrm
+       
 Di Jan 31 23:32:38 CET 2006 dothebart
   chkpwd needs to be owned rooot:root, flags 04755
 
index 18057f2dea4aa1121352b9dc63be6a3e0d602aca..f5e5bf082afc183c481183fbe658cf84a58cb5cc 100644 (file)
@@ -19,9 +19,6 @@ case "$1" in
   remove)
     # This package is being removed, but its configuration has not yet
     # been purged.
-               export CREATE_INITTAB_ENTRY=no
-               /usr/lib/citadel-server/setup -q
-               killall -HUP init
 
 
     # Remove diversion
diff --git a/citadel/debian/citadel-server.prerm b/citadel/debian/citadel-server.prerm
new file mode 100644 (file)
index 0000000..b010fa3
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# stop the citadel service...
+export CREATE_INITTAB_ENTRY=no
+/usr/lib/citadel-server/setup -q
+killall -HUP init