prerm is in gnuserv 3.12.8-5.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/bin/bash -e
# $Id: prerm,v 1.3 2004/02/16 11:23:59 benj Exp $
# Borrowed from xterm postinst
trap "echo ;\
echo 'Received signal. Aborting configuration of gnuserv package.';\
echo ;\
exit 1" 1 2 3 15
for i in gnuattach gnuclient gnudoit; do
update-alternatives --remove $i /usr/bin/$i.emacs
done
update-alternatives --remove editor /usr/bin/dtemacs
# Automatically added by dh_installemacsen
if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then
/usr/lib/emacsen-common/emacs-package-remove gnuserv
fi
# End automatically added section
|