Select Git revision
-
Martin Mareš authoredMartin Mareš authored
kam-shipcat.postinst 415 B
#!/bin/sh
set -e
# systemd reload is usually added automatically by dh_installsystemd, but our
# package provides only a template unit, which is not detected by DH. Let us do
# it manually.
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
fi