summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2025-01-14 17:03:57 +0100
committerDaniel Baumann <daniel@debian.org>2025-01-14 17:04:17 +0100
commit01c311b9e64fe1dd649634c06c502b40313b4884 (patch)
tree0f4eba000b47dea8e78ec971da7c240190cf15d2
parentRemoving disabling of tests on s390. (diff)
downloadfrr-01c311b9e64fe1dd649634c06c502b40313b4884.tar.xz
frr-01c311b9e64fe1dd649634c06c502b40313b4884.zip
Removing dpkg-statoverride for /etc/frr in postrm, thanks Andreas Hasenack <andreas.hasenack@canonical.com> (Closes: #1091415).
Signed-off-by: Daniel Baumann <daniel@debian.org>
-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