]> git.proxmox.com Git - lxc.git/commit
debian hooks: add #DEBHELPER# stanza to preinst and postrm
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 May 2023 09:22:12 +0000 (11:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 May 2023 10:17:07 +0000 (12:17 +0200)
commitb05e96bf829e9c62bb8984463da4a9e6f7696a94
tree055343f838b75befb66794c01d145bade5216c19
parent1f09877d62ef3ce4b7c3b3a709b21410387dccfd
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>
debian/lxc-pve.postrm
debian/lxc-pve.preinst