#!/bin/sh set -e case "$1" in purge|upgrade|failed-upgrade|remove|abort-install|abort-upgrade|disappear) if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi ;; *) echo "postrm called with unknown argument '$1'" >&2 exit 1 ;; esac exit 0