postrm is in xemacs21-support 21.4.24-5ubuntu1.
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 | #!/bin/sh -e
set -e
OLDDATADIR=/usr/lib/xemacs-21.4.18
test -L ${OLDDATADIR}/etc && rm ${OLDDATADIR}/etc
test -L ${OLDDATADIR}/lisp && rm ${OLDDATADIR}/lisp
rmdir /usr/local/lib/xemacs/site-lisp > /dev/null 2>&1 || true
rmdir /usr/local/lib/xemacs > /dev/null 2>&1 || true
##
|