[Koha-patches] [PATCH] When purging, remove /var/log/koha.

Lars Wirzenius lars at catalyst.net.nz
Tue Apr 20 00:51:25 CEST 2010


---
 debian/koha.postrm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/koha.postrm b/debian/koha.postrm
index 18b3794..3992985 100644
--- a/debian/koha.postrm
+++ b/debian/koha.postrm
@@ -16,6 +16,8 @@ if [ "$1" = "purge" ]; then
     if which ucf >/dev/null 2>&1; then
         ucf --purge "$configfile"
     fi
+
+    rm -rf /var/log/koha
 fi
 
 #DEBHELPER#
-- 
1.7.0




More information about the Koha-patches mailing list