From 4684b822bc8582622c7ea849aa61665af48a695a Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 19 Jun 2006 20:37:12 +0000 Subject: [PATCH 1/1] Cleanup log file on package purge (Debian bug #338516) As per Debian bug #338516 we should remove our log file upon package purge. Do so. --- debian/postrm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/postrm b/debian/postrm index c8ef717..da170ac 100644 --- a/debian/postrm +++ b/debian/postrm @@ -8,4 +8,6 @@ if [ "$1" = "purge" ]; then dpkg-statoverride --remove $i done fi + + rm -f /var/log/onak.log{,.1,.*.gz} fi -- 2.39.5