prerm is in openacs 5.7.0+dfsg-2.1.
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 | #! /bin/sh
# prerm script for openacs
#
set -e
# Stop aolserver before removal
[ -f /etc/init.d/aolserver4 ] && invoke-rc.d aolserver4 stop
# Source debconf stuff
[ -f /usr/share/debconf/confmodule ] && . /usr/share/debconf/confmodule
# dbconfig-common prerm
if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/prerm.pgsql
dbc_go openacs $@ || echo 'Automatic removal using dbconfig-common failed!'
fi
exit 0
|