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
12 rm -f /var/log/onak.log{,.1,.*.gz}