RDBO Support.
[kivitendo-erp.git] / DEBIAN / DEBIAN / postrm
1 #!/bin/sh
2 set -e
3 #set -x
4 echo " ! "`date`" Postrm $1 !" >> /tmp/lxo-erp.log
5
6 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
7     rm -rf /var/lib/lx-office-erp/templates/*
8     rm -rf /usr/lib/lx-office-erp/config/*
9     rm -rf /etc/apache*/conf.d/lx-office-erp*
10     rm -f /usr/lib/lx-office-erp/lxdbinst.sql
11         . /usr/share/debconf/confmodule
12         db_purge
13 fi