X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/17fdc00968dc7eca13fbb22ef1c68c1af0968e99..2796e65c80aa5b1c1787e161fbb2cc8ac57b0fb0:/debian/postrm diff --git a/debian/postrm b/debian/postrm index 2639332..c8ef717 100644 --- a/debian/postrm +++ b/debian/postrm @@ -4,6 +4,8 @@ set -e if [ "$1" = "purge" ]; then if dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* >/dev/null; then - dpkg-statoverride --remove + for i in $(dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* | cut -d " " -f 4); do + dpkg-statoverride --remove $i + done fi fi