/usr/share/doc/dbconfig-common/examples/db-test-sqlite3-2.0/debian/postinst is in dbconfig-common 1.8.47+nmu1.
This file is owned by root:root, with mode 0o644.
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/sh
set -e
#set -x
. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.sqlite3
dbc_generate_include=php:/etc/db-test-sqlite3/debian-db.php
# Uncomment the following lines if you want to set different permissions
# on the installed database file
#dbc_dbfile_owner="root:www-data"
#dbc_dbfile_perms="0644"
dbc_go db-test-sqlite3 $@
#DEBHELPER#
|