#!/bin/sh # Guard: 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 # The bans Guard made stay in Housecarl until they end. if [ "$1" = purge ]; then echo "guard: kept /etc/guard and /var/lib/guard; remove them by hand if unused." fi exit 0