Code

Rework package configuration
[pkg-nagvis.git] / debian / config
index d405a8b338ea29a2940368c0a5f5ce40ec136615..d3d7ea7ccbe4cc88626ba8c658c0d791189f2dc5 100644 (file)
@@ -3,19 +3,7 @@ set -e
 
 . /usr/share/debconf/confmodule
 
-tmp=`mktemp`
+db_input high nagvis/monitoring_system || true
+db_go || true
 
-if [ -f /etc/dbconfig-common/ndoutils-mysql.conf ] ; then
-       dbconfig-load-include -f sh \
-               -udbc_dbuser -pdbc_dbpass -ddbc_dbname -sdbc_dbserver -Pdbc_dbport \
-               /etc/dbconfig-common/ndoutils-mysql.conf > $tmp
-       . $tmp
-       if [ -f /usr/share/dbconfig-common/dpkg/frontend.config.mysql ]; then
-               . /usr/share/dbconfig-common/dpkg/frontend.config.mysql
-               dbc_go nagvis $@
-       fi
-       db_stop
-fi
-
-rm -f $tmp