From d0cafcf4a048bfcc72d9523d20d61ba719e566cd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 11 Nov 2011 00:02:53 +0400 Subject: add debianization scripts based on work by Florent USSEIL --- debian/tt-rss-mysql.config | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/tt-rss-mysql.config (limited to 'debian/tt-rss-mysql.config') diff --git a/debian/tt-rss-mysql.config b/debian/tt-rss-mysql.config new file mode 100644 index 000000000..09b3d3705 --- /dev/null +++ b/debian/tt-rss-mysql.config @@ -0,0 +1,18 @@ +#!/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 + -- cgit v1.2.3