This file is indexed.

postinst is in pdns-backend-sqlite3 3.0-1.1ubuntu1.

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
#! /bin/sh
#
# postinst script for pdns-backend-sqlite3

set -e

# Execute dbconfig-common
. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.sqlite3
dbc_first_version="3.0-1"
dbc_generate_include_args="-o template_infile=/usr/share/doc/pdns-backend-sqlite3/examples/pdns.local.gsqlite3"
dbc_generate_include=template:/etc/powerdns/pdns.d/pdns.local.gsqlite3
dbc_generate_include_owner=pdns
dbc_generate_include_perms=0640
dbc_dbfile_owner=pdns:pdns
dbc_dbfile_perms=0640
dbc_go pdns-backend-sqlite3 $@

# Activate trigger
dpkg-trigger pdns-server

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0