'Network User' is now 'Normal User'
[citadel.git] / citadel / debian / citadel-server.postrm
index 8c40fefd3189de7b44c649a13807c6c8ffb1c8d6..5ea63e5cbe09f6577029e71563ceaf5a9c47c550 100644 (file)
@@ -1,25 +1,26 @@
-#! /bin/sh
-. /usr/share/debconf/confmodule
+#!/bin/sh
+# postrm script for citadel-server
+
 set -e
 
+# source debconf stuff
 . /usr/share/debconf/confmodule
 db_version 2.0
 
 case "$1" in
-  remove)
+    purge)
+        echo "/var/lib/citadel/data not removed, as it may contain your personal data."
     ;;
-  purge)
-       rmdir "/etc/citadel/help"
-       rmdir "/etc/citadel/messages"
 
-       echo "/var/lib/citadel/data not removed, as it may contain your personal data."
-       db_purge
-       db_go
-       ;;
-  disappear|upgrade|failed-upgrade|abort-install|abort-upgrade)
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
     ;;
-  *) echo "$0: didn't understand being called with \`$1'" 1>&2
-     exit 1;;
 esac
 
+#DEBHELPER#
+
 exit 0