]> git.sommitrealweird.co.uk Git - onak.git/blob - debian/postrm
Document our test keys
[onak.git] / debian / postrm
1 #! /bin/sh
2
3 set -e
4
5 if [ "$1" = "purge" ]; then
6     if dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* >/dev/null; then
7         for i in $(dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* | cut -d " " -f 4); do
8             dpkg-statoverride --remove $i
9         done
10     fi
11
12     rm -f /var/log/onak.log{,.1,.*.gz}
13 fi