#!/bin/sh # Jarl: runs after the package's files are removed. set -e case "$1" in remove|purge) if [ -d /run/systemd/system ]; then systemctl daemon-reload || true fi ;; esac # Even a purge keeps Jarl's data: the database in /var/lib/jarl is the # source of your DNS configuration, and named.conf may still include the # files in /etc/bind/jarl. Remove them by hand when you no longer need them. if [ "$1" = purge ]; then echo "jarl: kept /etc/jarl, /var/lib/jarl, /etc/bind/jarl, /var/lib/bind/jarl and" echo "/var/cache/bind/jarl (named may still use them); remove them by hand if unused." fi exit 0