Sync usage with man page.
[netbsd-mini2440.git] / crypto / dist / heimdal / packages / debian / heimdal-servers-x.postrm
blob55c3e02acfae7e81ecb6fde8c33667a7550c6bee
1 #!/bin/sh -e
2 # $Heimdal: heimdal-servers-x.postrm,v 1.2 1999/12/26 00:00:46 bam Exp $
3 # $NetBSD$
5 remove_servers() {
6 update-inetd --remove 'kx[ \t].*[ \t]/usr/lib/heimdal-servers/kxd'
9 case "$1" in
10 abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
12 purge)
13 # If netbase is not installed, then we don't need to do the remove.
14 if command -v update-inetd >/dev/null 2>&1; then
15 remove_servers
19 echo "$0: incorrect arguments: $*" >&2
20 exit 1
22 esac
24 #DEBHELPER#