prerm is in cacti 0.8.8b+dfsg-5.
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 23 24 | #!/bin/sh
set -e
# source debconf stuff
. /usr/share/debconf/confmodule
# source dbconfig-common stuff
. /usr/share/dbconfig-common/dpkg/prerm.mysql
dbc_go cacti $@
# Automatically added by dh_usrlocal
(
while read dir; do
rmdir "$dir" 2>/dev/null || true
done
) << DATA
/usr/local/share/cacti/scripts
/usr/local/share/cacti/resource/script_queries
/usr/local/share/cacti/resource/snmp_queries
/usr/local/share/cacti/resource/script_server
/usr/local/share/cacti/resource
/usr/local/share/cacti
DATA
# End automatically added section
|