prerm is in xemacs21-support 21.4.22-3.2ubuntu1.
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 | #!/bin/sh -e
set -e
install-info --quiet --remove-exactly xemacs21/xemacs
rmdir /usr/local/lib/xemacs/site-lisp > /dev/null 2>&1 && \
rmdir /usr/local/lib/xemacs > /dev/null 2>&1 || \
true
if [ -L /usr/lib/xemacs-21.4.22/etc ]; then
rm -f /usr/lib/xemacs-21.4.22/etc
fi
if [ -L /usr/lib/xemacs-21.4.22/lisp ]; then
rm -f /usr/lib/xemacs-21.4.22/lisp
fi
##
|