File: distributed-net.postrm

package info (click to toggle)
distributed-net 2.9112.521%2Barm64-3
  • links: PTS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 9,336 kB
  • sloc: sh: 144; makefile: 51
file content (13 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# exit if any errors occur
set -e

#DEBHELPER#

# Remove the configuration, logs and buffers
if [ "$1" = "purge" ] ; then
	rm -f /var/log/distributed-net*.log*
	rm -rf /var/lib/distributed-net
	rm -f /etc/distributed-net.conf
fi