]> git.proxmox.com Git - pve-manager.git/commit - debian/postinst
postinst: simplify code for transitional updates
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Mar 2018 13:14:01 +0000 (14:14 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 12 Mar 2018 14:13:48 +0000 (15:13 +0100)
commit01fe34e04120a86ba66650f861ed637b1ef46dc8
tree9a0986b90a3e5031ace2841e416e9db81b02e0ff
parente3ffd2c0b592ca5083decb3be36f479926be6475
postinst: simplify code for transitional updates

The first case won't happen anymore on a recent PVE.
The 'version is empty or <unknown>' check may drop the '<unknown>'
part, it gets handled by the 'dpkg --compare-versions' bits just
fine, if it happens at all for the 'configure' case

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst