File debian.kmscon.postrm of Package kmscon
#!/bin/sh set -e # Copied from /usr/share/debhelper/autoscripts/postrm-systemd # from debhelper 13.11.8. # This can go once #889635 is fixed. if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge kmsconvt@.service >/dev/null || true fi fi # Copied from /usr/share/debhelper/autoscripts/postrm-systemd-reload-only # from debhelper 13.11.8. # This can go once #889635 is fixed. if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi #DEBHELPER#