]> the.earth.li Git - onak.git/blob - debian/postrm
Output details of key search after retrieval for pks/lookup
[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 /var/log/onak.log.1 /var/log/onak.log.*.gz
13 fi
14
15 #DEBHELPER#