Release diogenes-0.9.22
[diogenes.git] / debian / diogenes.prerm
CommitLineData
6855525e
JL
1#!/bin/sh -e
2
7e17ed74
JL
3. /usr/share/debconf/confmodule
4db_version 2.0
5# source dbconfig-common shell library, and call the hook function
6if [ -f /usr/share/dbconfig-common/dpkg/prerm.mysql ]; then
7 . /usr/share/dbconfig-common/dpkg/prerm.mysql
8 dbc_go diogenes $@
9fi
10
6855525e
JL
11ACTION=$1
12case "$ACTION" in
13remove)
14 #
15 # Remove the automatically generated diogenes.config.inc.php
16 #
17 rm -f /etc/diogenes/diogenes.config.inc.php
18
19 #
20 # Remove the compiled templates directory
21 #
22 rm -rf /var/spool/diogenes/templates_c
23 ;;
24*)
25 ;;
26esac
27
28# dh_installdeb will replace this with shell code automatically
29# generated by other debhelper scripts.
30
31#DEBHELPER#
32
33exit 0
34