X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=debian%2Fdiogenes.prerm;h=b9cb74a16141dd8a35592ea52d6258c6c4c533a6;hb=1898ed6688bc052bf2242648124e37357b25c364;hp=8de7ce1a01883806d12c09d84d97fa255b5089aa;hpb=6855525e48fad5de270500a5445c4f4ff85d8bda;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)