Code

1.4.5 working, but need some more work:
[pkg-nagvis.git] / debian / postrm
index 3485a986fcb53f5cc664bd5e13da1ba3300c4caf..fa212e61ff71822e726e43b0a5cde2fa77dc7a35 100644 (file)
@@ -47,6 +47,9 @@ if [ "$1" = "purge" ]; then
        #if [ -e /etc/apache2/conf.d/nagvis.conf ]; then
        #       rm -f /etc/apache2/conf.d/nagvis.conf
        #fi
+
+       rm -f /var/cache/nagvis/*
+        rmdir /var/cache/nagvis
 fi
        
 # dh_installdeb will replace this with shell code automatically