This file is indexed.

postinst is in pnopaste 1.5-2.

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

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst
dbc_generate_include=perl:/etc/pnopaste/debiandb.pm
dbc_generate_include_owner="root:www-data"
dbc_generate_include_perms="0640"
dbc_go pnopaste $@

if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
	. /usr/share/apache2/apache2-maintscript-helper
	apache2_invoke enmod cgid
	apache2_invoke enconf pnopaste.conf
fi

db_stop



exit 0