File: tor.postrm

package info (click to toggle)
tor 0.2.4.27-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,932 kB
  • sloc: ansic: 119,722; sh: 5,256; python: 188; makefile: 99
file content (12 lines) | stat: -rw-r--r-- 192 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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/
    rm -rf /var/run/tor/
fi

#DEBHELPER#

exit 0