start move to dbconfig-common based idb configuration
[diogenes.git] / debian / diogenes.prerm
index 8de7ce1..b9cb74a 100644 (file)
@@ -1,5 +1,13 @@
 #!/bin/sh -e
 
+. /usr/share/debconf/confmodule
+db_version 2.0
+# source dbconfig-common shell library, and call the hook function
+if [ -f /usr/share/dbconfig-common/dpkg/prerm.mysql ]; then
+    . /usr/share/dbconfig-common/dpkg/prerm.mysql 
+    dbc_go diogenes $@
+fi
+
 ACTION=$1
 case "$ACTION" in
 remove)