diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:36:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:36:23 +0000 |
commit | 3050ea58ec5f7f1d5a3d70a080a9cb9dceadda38 (patch) | |
tree | b57c014754c37f359e87a796a2bc2859572b6612 /debian/knot.postrm | |
parent | Adding upstream version 3.0.5. (diff) | |
download | knot-3050ea58ec5f7f1d5a3d70a080a9cb9dceadda38.tar.xz knot-3050ea58ec5f7f1d5a3d70a080a9cb9dceadda38.zip |
Adding debian version 3.0.5-1+deb11u1.debian/3.0.5-1+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/knot.postrm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/knot.postrm b/debian/knot.postrm new file mode 100644 index 0000000..76dccba --- /dev/null +++ b/debian/knot.postrm @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +if test "$1" = "purge"; then + spool=/var/lib/knot + rm -rf $spool/timers $spool/keys $spool/journal + rmdir $spool 2>/dev/null || true + + dpkg-statoverride --remove /var/lib/knot >/dev/null 2>/dev/null || true + dpkg-statoverride --remove /etc/knot/knot.conf >/dev/null 2>/dev/null || true + dpkg-statoverride --remove /etc/knot >/dev/null 2>/dev/null || true + + deluser --quiet knot > /dev/null || true +fi + +#DEBHELPER# + +exit 0 |