prerm is in colplot 5.0.1-3.
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 19 20 21 22 | #!/bin/sh
set -e
#
# Skip, if we are not in "remove" or "purge" state
#
if [ "$1" != "remove" ] && [ "$1" != "purge" ]; then
exit 0
fi
## Source debconf library
. /usr/share/debconf/confmodule
db_version 2.0
# Remove the site symlink
if [ -e /usr/share/colplot/site/index.cgi ] ; then
rm -f /usr/share/colplot/site/index.cgi
fi
exit 0
|