1
0
Fork 0
cryptsetup/debian/cryptsetup-suspend.postinst
Daniel Baumann 74b680e410
Adding debian version 2:2.7.5-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 10:45:48 +02:00

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