File: tor.postrm

package info (click to toggle)
tor 0.4.8.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,852 kB
  • sloc: ansic: 314,750; sh: 7,388; python: 1,829; makefile: 620; perl: 249; pascal: 141
file content (12 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (9)
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 /run/tor/
fi

#DEBHELPER#

exit 0