prerm is in xterm 297-1ubuntu1.
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/sh
# Debian xterm package pre-removal script
# Copyright 1998, 1999, 2004 Branden Robinson.
# Licensed under the GNU General Public License, version 2. See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove x-terminal-emulator /usr/bin/koi8rxterm
update-alternatives --remove x-terminal-emulator /usr/bin/uxterm
update-alternatives --remove x-terminal-emulator /usr/bin/xterm
update-alternatives --remove x-terminal-emulator /usr/bin/lxterm
fi
exit 0
# vim:set ai et sw=4 ts=4 tw=80:
|