Browse Source

Remove generated /etc/koha/koha-conf.xml when package is purged.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
3.2.x
Lars Wirzenius 14 years ago
committed by Galen Charlton
parent
commit
13e829e8b2
  1. 14
      debian/koha.postrm

14
debian/koha.postrm

@ -10,12 +10,12 @@ if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
dbc_go koha $@
fi
#if [ "$1" = "purge" ]; then
# rm -f /etc/db-test-mysql/debian-db.php
# if which ucf >/dev/null 2>&1; then
# ucf --purge /etc/db-test-mysql/debian-db.php
# ucfr --purge db-test-mysql /etc/db-test-mysql/debian-db.php
# fi
#fi
if [ "$1" = "purge" ]; then
configfile="/etc/koha/koha-conf.xml"
rm -f "$configfile"
if which ucf >/dev/null 2>&1; then
ucf --purge "$configfile"
fi
fi
#DEBHELPER#

Loading…
Cancel
Save