5
0
mirror of git://git.proxmox.com/git/lxc.git synced 2025-03-16 10:50:38 +03:00

debian hooks: add #DEBHELPER# stanza to preinst and postrm

No difference for preinst (besides lintian being happy without an
extra override) and for postrm we get quite a bit of code handling
cleanup of service and apparmor stuff on package purge, plus some
sytemd daemon reload on remove.

Looks clean enough to not cause any trouble and neither Fabian G. nor
Wolfgang B. see (or remember) any reason against doing this.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-05 11:22:12 +02:00
parent 1f09877d62
commit b05e96bf82
2 changed files with 4 additions and 0 deletions

View File

@ -20,4 +20,6 @@ case "$1" in
;;
esac
#DEBHELPER#
exit 0

View File

@ -22,4 +22,6 @@ case "$1" in
;;
esac
#DEBHELPER#
exit 0