File: tor.postrm

package info (click to toggle)
tor 0.4.8.16-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 50,308 kB
  • sloc: ansic: 314,413; sh: 7,386; 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