#!/bin/sh
set -e

. /usr/share/debconf/confmodule

PACKAGE=tt-rss-mysql

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

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

