Code

* debian/rules: packaged missing dirs
[pkg-nagvis.git] / debian / postinst
index 384df73558064a6fbe6b4cc90bde2a29c978ed82..8b4b9a4ca77dd6627e3547aa6f801a2eddf635cc 100644 (file)
@@ -13,7 +13,6 @@ if [ -f /usr/share/dbconfig-common/dpkg/frontend.postinst.mysql ]; then
        dbc_generate_include_args='--ucf -o template_infile=/usr/share/nagvis/debian/nagvis.ini.php-sample'
        dbc_go nagvis $@
 fi
-db_stop
 
 # summary of how this script can be called:
 #        * <postinst> `configure' <most-recently-configured-version>
@@ -66,6 +65,7 @@ case "$1" in
     ;;
 esac
 
+db_stop
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.