File: torrus-common.postrm

package info (click to toggle)
torrus 3.00-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 4,548 kB
  • sloc: perl: 34,614; xml: 20,934; sh: 3,650; makefile: 713
file content (11 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

if [ "$1" = "purge" ] ; then
    rm -rf /var/run/torrus /var/log/torrus /var/lib/torrus /var/cache/torrus
fi

dpkg-maintscript-helper rm_conffile /etc/logrotate.d/torrus-common 2.01-3 -- "$@"

#DEBHELPER#

exit 0