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

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

if [ "$1" = "purge" ]; then
	rm -rf /run/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#