#!/bin/sh # postrm script for nagvis # # see: dh_installdeb(1) set -e case "$1" in purge) for file in apache.conf nagvis.ini.php; do rm -f /etc/nagvis/$file if [ -x /usr/bin/ucf ] ; then ucf --debconf-ok --purge /etc/nagvis/$file fi done rm -rf /var/cache/nagvis ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0