debian/littlebird-tc-core.config
branch2011091400
changeset 63 4b1a3d9a3cae
parent 20 2b50fdcbf09f
--- a/debian/littlebird-tc-core.config	Wed Sep 14 15:59:31 2011 +0200
+++ b/debian/littlebird-tc-core.config	Wed Sep 14 21:32:47 2011 +0200
@@ -1,5 +1,12 @@
 #! /bin/sh
 set -e
+
+# on reconfigure we reconfigure the common package too,
+# since currently it contains the db name etc… cleaner
+# solution could be to duplicate the code from there to here
+test "$1" = "reconfigure" \
+    && `dirname $0`/littlebird-tc-common.config "$@"
+
 . /usr/share/debconf/confmodule
 
 prefix=littlebird-tc