X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=debian%2Fpostrm;h=3535fedbed28cc6cf2078749b47e0cea3ac7b9a9;hb=60d520d9a9e7f2db4598dbe448d4c98aad351b75;hp=fa212e61ff71822e726e43b0a5cde2fa77dc7a35;hpb=3ac92333ec5fa1a0d22c91bb0642c1eae8c65ee1;p=pkg-nagvis.git diff --git a/debian/postrm b/debian/postrm index fa212e6..3535fed 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,5 +1,5 @@ #!/bin/sh -# postrm script for #PACKAGE# +# postrm script for nagvis # # see: dh_installdeb(1) @@ -9,7 +9,7 @@ if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi -if [ -f /usr/share/dbconfig-common/dpkg/postrm.@@DB@@ ]; then +if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then . /usr/share/dbconfig-common/dpkg/frontend.postrm.mysql dbc_go nagvis $@ fi @@ -48,8 +48,7 @@ if [ "$1" = "purge" ]; then # rm -f /etc/apache2/conf.d/nagvis.conf #fi - rm -f /var/cache/nagvis/* - rmdir /var/cache/nagvis + rm -rf /var/cache/nagvis fi # dh_installdeb will replace this with shell code automatically