X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=debian%2Fdiogenes.prerm;h=b9cb74a16141dd8a35592ea52d6258c6c4c533a6;hb=7e17ed7462e2978bc760a11661a75bae5ab0beb4;hp=8de7ce1a01883806d12c09d84d97fa255b5089aa;hpb=f3a0e7f138048b6d78f2a659754437870f75e0fc;p=diogenes.git diff --git a/debian/diogenes.prerm b/debian/diogenes.prerm index 8de7ce1..b9cb74a 100644 --- a/debian/diogenes.prerm +++ b/debian/diogenes.prerm @@ -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)