This file is indexed.

preinst is in liblemonldap-ng-portal-perl 1.4.6-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
#!/bin/bash

set -e

. /usr/share/debconf/confmodule

if [ "$1" == "configure" ]
then
	if [ -f /var/lib/lemonldap-ng/portal/index.pl ]; then \
		diff /var/lib/lemonldap-ng/portal/index.pl \
			/usr/share/doc/liblemonldap-ng-portal-perl/examples/index_skin.pl && \
		rm -rf /var/lib/lemonldap-ng/portal/index.pl
	fi
fi


exit 0