]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - debian/postrm
Use OPENPGP_PACKET_COMMENT in parse_keys instead of raw constant
[onak.git] / debian / postrm
index 263933297fcfc08efec10ea341449e4dabd8d37d..d5384f95776693c4447147a8754668a0cc6b4172 100644 (file)
@@ -4,6 +4,12 @@ set -e
 
 if [ "$1" = "purge" ]; then
     if dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* >/dev/null; then
 
 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
+
+    rm -f /var/log/onak.log /var/log/onak.log.1 /var/log/onak.log.*.gz
 fi
 fi
+
+#DEBHELPER#