prerm is in pdksh 5.2.14-26.
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 | #!/bin/sh
# vim:ts=4:et
# $Id: prerm,v 1.2 2005-05-06 23:19:30 robert Exp $
set -e
if [ "$1" != "upgrade" ] ; then
update-alternatives --remove ksh /bin/pdksh
remove-shell /bin/pdksh
fi
exit 0
|