blob: 76dccba1b36965e1b07ee630e25c416c98e80b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|