summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/frr.postrm5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/frr.postrm b/debian/frr.postrm
index e24a6ace..a021e41d 100755
--- a/debian/frr.postrm
+++ b/debian/frr.postrm
@@ -4,6 +4,11 @@ set -e
case "${1}" in
purge)
+ if dpkg-statoverride --list /etc/frr > /dev/null 2>&1
+ then
+ dpkg-statoverride --remove /etc/frr
+ fi
+
rm -f /etc/frr/.pkg.frr.nointegrated
rmdir /etc/frr > /dev/null 2>&1 || true