14 lines
372 B
Bash
14 lines
372 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# dh_installsystemd(1) doesn't support overrides but we manually copy
|
|
# the snippet it would add.
|
|
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
|
|
|
|
#DEBHELPER#
|
|
exit 0
|