]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - debian/postrm
Compile warning cleanup; add missed include file.
[onak.git] / debian / postrm
index 263933297fcfc08efec10ea341449e4dabd8d37d..c8ef7178cd1b2c942572c6ddf8c3fd81981ca5c1 100644 (file)
@@ -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