]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blob - debian/wamerican.postrm
[svn-inject] Applying Debian modifications to trunk
[deb_pkgs/scowl.git] / debian / wamerican.postrm
1 #!/bin/sh
2
3 set -e
4
5 # wamerican can be installed standalone, with no dictionaries-common,
6 # so use remove-default-wordlist if present and do not complain
7 # otherwise
8
9 rmscript="/usr/sbin/remove-default-wordlist"
10
11 case "$1" in abort-install|remove)
12         if [ -x $rmscript ]; then
13             $rmscript wamerican
14         fi
15         # Remove shared question stuff on package removal, not only on purge
16         if [ -e /usr/share/debconf/confmodule ]; then
17             . /usr/share/debconf/confmodule
18             db_purge
19         fi
20 esac
21
22 #DEBHELPER#