* purge TinyMCE, as there is a debian package out there.
[citadel.git] / webcit / debian / citadel-webcit.postrm
1 #! /bin/sh
2 # Abort if any command returns an error value
3 set -e
4 . /usr/share/debconf/confmodule
5
6 case "$1" in
7   purge)
8         echo "/etc/citadel/www/keys not removed. "
9         db_purge 'citadel/WebcitHttpsPort'
10         db_purge 'citadel/WebcitHttpPort'
11         db_purge 'citadel/WebcitInstallnote'
12     ;;
13   disappear)
14     if test "$2" != overwriter; then
15       echo "$0: undocumented call to \`postrm $*'" 1>&2
16       exit 0
17     fi
18     ;;
19   remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
20     ;;
21   *) echo "$0: didn't understand being called with \`$1'" 1>&2
22      exit 0;;
23 esac
24
25 exit 0