8de7ce1a01883806d12c09d84d97fa255b5089aa
[diogenes.git] / debian / diogenes.prerm
1 #!/bin/sh -e
2
3 ACTION=$1
4 case "$ACTION" in
5 remove)
6         #
7         # Remove the automatically generated diogenes.config.inc.php
8         #
9         rm -f /etc/diogenes/diogenes.config.inc.php
10
11         #
12         # Remove the compiled templates directory
13         #
14         rm -rf /var/spool/diogenes/templates_c
15         ;;
16 *)
17         ;;
18 esac
19
20 # dh_installdeb will replace this with shell code automatically
21 # generated by other debhelper scripts.
22
23 #DEBHELPER#
24
25 exit 0
26