#!/bin/sh set -e case "$1" in purge) rm -f /var/lib/certmonger/cas/* rm -f /var/lib/certmonger/local/* rm -f /var/lib/certmonger/lock rm -f /var/lib/certmonger/requests/* ;; esac # Automatically added by dh_installinit/13.14.1ubuntu5 if [ "$1" = "remove" ] && [ -x "/etc/init.d/certmonger" ] ; then chmod -x "/etc/init.d/certmonger" >/dev/null || true fi if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d certmonger remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.14.1ubuntu5 dpkg-maintscript-helper rm_conffile /etc/certmonger/nssdb/cert9.db 0.79.17-2\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/certmonger/nssdb/key4.db 0.79.17-2\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/certmonger/nssdb/pkcs11.txt 0.79.17-2\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/certmonger/nssdb/ 0.79.17-2\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.14.1ubuntu5 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.14.1ubuntu5 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'certmonger.service' >/dev/null || true fi fi # End automatically added section