summaryrefslogtreecommitdiffstats
path: root/debian/frr.postrm
blob: c553abd9d177c19c10b5bcc1559ed01582f9a0bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

rm -f /etc/frr/.pkg.frr.nointegrated

if [ "$1" = "purge" ]; then
	rm -rf /run/frr || true
	rm -rf /var/lib/frr || true

	# "purge" does not remove logfiles.  therefore we shouldn't delete
	# the "frr" user/group since that would leave files with "dangling"
	# ownership.
fi

#DEBHELPER#