This file is indexed.

prerm is in cacti 1.1.38+ds1-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
22
23
24
25
26
27
28
#!/bin/sh

set -e

# source debconf stuff
. /usr/share/debconf/confmodule
# source dbconfig-common stuff
. /usr/share/dbconfig-common/dpkg/prerm.mysql
dbc_sql_substitutions="true"
dbc_go cacti $@

# Automatically added by dh_installdeb/11.1.6ubuntu1
dpkg-maintscript-helper dir_to_symlink /usr/share/cacti/site/include/js/themes /usr/share/javascript/jstree/themes 0.8.8h\+ds1-10\~ cacti -- "$@"
# End automatically added section
# Automatically added by dh_usrlocal/11.1.6ubuntu1
(
	while read dir; do
		rmdir "$dir" 2>/dev/null || true
	done
) << DATA
/usr/local/share/cacti/scripts
/usr/local/share/cacti/resource/snmp_queries
/usr/local/share/cacti/resource/script_server
/usr/local/share/cacti/resource/script_queries
/usr/local/share/cacti/resource
/usr/local/share/cacti
DATA
# End automatically added section