Bug 14981: Remove ethnicity occurrences from sample patrons file
[koha.git] / debian / koha.postrm
blob39929859a38716af4ce3a89c16944d8ef8f524bb
1 #!/bin/sh
3 set -e
5 if [ -f /usr/share/debconf/confmodule ]; then
6 . /usr/share/debconf/confmodule
7 fi
8 if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
9 . /usr/share/dbconfig-common/dpkg/postrm.mysql
10 dbc_go koha $@
13 if [ "$1" = "purge" ]; then
14 configfile="/etc/koha/koha-conf.xml"
15 rm -f "$configfile"
16 if which ucf >/dev/null 2>&1; then
17 ucf --purge "$configfile"
20 rm -rf /var/log/koha
23 #DEBHELPER#