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:
parent
1f09877d62
commit
b05e96bf82
2
debian/lxc-pve.postrm
vendored
2
debian/lxc-pve.postrm
vendored
@ -20,4 +20,6 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
2
debian/lxc-pve.preinst
vendored
2
debian/lxc-pve.preinst
vendored
@ -22,4 +22,6 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user