aboutsummaryrefslogtreecommitdiff
path: root/debian/tor.postrm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-01-13 13:40:00 +0000
committerPeter Palfrader <peter@palfrader.org>2004-01-13 13:40:00 +0000
commit9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2 (patch)
treef8abee2a51977b150260bfb7699a4c94b6bc6bb7 /debian/tor.postrm
parent793c65e60fa0cf4be6cde6b6011d12291e92a969 (diff)
downloadtor-9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2.tar
tor-9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2.tar.gz
First go at a debian package
svn:r987
Diffstat (limited to 'debian/tor.postrm')
-rw-r--r--debian/tor.postrm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tor.postrm b/debian/tor.postrm
new file mode 100644
index 000000000..cb3707e27
--- /dev/null
+++ b/debian/tor.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = "purge" ]; then
+ # logs have to be removed according to policy.
+ rm -rf /var/log/tor/
+ rm -rf /var/lib/tor/
+fi
+
+#DEBHELPER#
+
+exit 0