Files
heimdal/packages/debian/heimdal-servers-x.postrm
Love Hörnquist Åstrand cc8a62e402 from ubuntu 7.10
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 14:30:24 +00:00

24 lines
492 B
Bash

#!/bin/sh -e
# $Id: heimdal-servers-x.postrm,v 1.2 1999/12/26 00:00:46 bam Exp $
remove_servers() {
update-inetd --remove 'kx[ \t].*[ \t]/usr/lib/heimdal-servers/kxd'
}
case "$1" in
abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
;;
purge)
# If netbase is not installed, then we don't need to do the remove.
if command -v update-inetd >/dev/null 2>&1; then
remove_servers
fi
;;
*)
echo "$0: incorrect arguments: $*" >&2
exit 1
;;
esac
#DEBHELPER#