prerm is in aterm-ml 1.0.1-8.
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 | #!/bin/sh -e
# prerm for aterm-ml
# Script taken from Brian May's rxvt package
if [ "$1" = remove ]; then
update-alternatives --remove aterm /usr/bin/katerm
update-alternatives --remove aterm /usr/bin/caterm
update-alternatives --remove aterm /usr/bin/gaterm
update-alternatives --remove aterm /usr/bin/taterm
update-alternatives --remove x-terminal-emulator /usr/bin/katerm
update-alternatives --remove x-terminal-emulator /usr/bin/caterm
update-alternatives --remove x-terminal-emulator /usr/bin/gaterm
update-alternatives --remove x-terminal-emulator /usr/bin/taterm
fi
exit 0
|