No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / packages / debian / heimdal-servers.postrm
blobfa2c6aa0ccaa68faacd4cd4bf10b27b654a009ec
1 #!/bin/sh -e
2 # $Heimdal: heimdal-servers.postrm,v 1.4 1999/12/26 01:51:03 bam Exp $
3 # $NetBSD$
5 remove_servers() {
6 update-inetd --remove 'kshell[ \t].*[ \t]/usr/lib/heimdal-servers/rshd'
7 update-inetd --remove 'ftp[ \t].*[ \t]/usr/lib/heimdal-servers/ftpd'
8 update-inetd --remove 'telnet[ \t].*[ \t]/usr/lib/heimdal-servers/telnetd'
9 update-inetd --remove 'pop-3[ \t].*[ \t]/usr/lib/heimdal-servers/popper'
12 case "$1" in
13 abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
15 purge)
16 # If netbase is not installed, then we don't need to do the remove.
17 if command -v update-inetd >/dev/null 2>&1; then
18 remove_servers
22 echo "$0: incorrect arguments: $*" >&2
23 exit 1
25 esac
27 #DEBHELPER#