prerm 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 13 14 15 | #!/bin/sh -e
set -e
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.24/etc ]; then
rm -f /usr/lib/xemacs-21.4.24/etc
fi
if [ -L /usr/lib/xemacs-21.4.24/lisp ]; then
rm -f /usr/lib/xemacs-21.4.24/lisp
fi
##
|