]> the.earth.li Git - onak.git/commitdiff
Cleanup log file on package purge (Debian bug #338516)
authorJonathan McDowell <noodles@earth.li>
Mon, 19 Jun 2006 20:37:12 +0000 (20:37 +0000)
committerJonathan McDowell <noodles@earth.li>
Mon, 19 Jun 2006 20:37:12 +0000 (20:37 +0000)
As per Debian bug #338516 we should remove our log file upon package
purge. Do so.

debian/postrm

index c8ef7178cd1b2c942572c6ddf8c3fd81981ca5c1..da170ac335c6e2ab22f1790104ec69c114593ad1 100644 (file)
@@ -8,4 +8,6 @@ if [ "$1" = "purge" ]; then
             dpkg-statoverride --remove $i
        done
     fi
+
+    rm -f /var/log/onak.log{,.1,.*.gz}
 fi