#!/bin/sh
set -e

. /usr/share/debconf/confmodule

PACKAGE=tt-rss-pgsql

# restart webserver
db_input medium $PACKAGE/webserver || true
db_go || true

# dbconfig-common
if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
	. /usr/share/dbconfig-common/dpkg/config.pgsql
	dbc_first_version="1.3.1"
	dbc_go $PACKAGE $@
fi