#!/bin/sh
# pre removal script for the Debian GNU/Linux xtell package

set -e

#update-inetd --disable xtell
#update-inetd --file /etc/services --disable xtell

# Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/xtell ]; then
	rm -f /usr/doc/xtell
fi

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/bin/write ]; then
	rm -f /usr/bin/write
fi
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/man/man1/write.1.gz ]; then
	rm -f /usr/man/man1/write.1.gz
fi
# Automatically added by dh_installinit
/etc/init.d/xtell stop
# End automatically added section
