#!/bin/sh

set -e

dbc_generate_include="template:/etc/koha/koha-conf.xml"
dbc_generate_include_args="
    -o template_infile=/usr/share/koha/koha-conf.xml.in
    -O root:www-data -m 0640
"

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.mysql 
dbc_go koha $@

#DEBHELPER#

cat <<eof

Please see https://wiki.koha-community.org/wiki/Installation_Documentation
for instructions on how to configure things after installing the koha package.

eof
