#!/bin/bash set -e case "$1" in purge) if [ -d /etc/datum-gateway ]; then rm -rf /etc/datum-gateway fi ;; upgrade|remove|failed-upgrade|abort-install|abort-upgrade|disappear) ;; esac # Automatically added by dh_installsystemd/13.31 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.31 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'datum-gateway.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installdebconf/13.31 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section exit 0