]> git.sommitrealweird.co.uk Git - onak.git/blob - debian/postrm
Hard error when db version is < 4.
[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 fi