d/postinst: re-add autogenereated deb-helper code and fix version guard

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-07-16 15:38:59 +02:00
parent 95ff887721
commit 74f7616d07

View file

@ -14,11 +14,13 @@ remove_fabrics_directory() {
case "$1" in
configure)
# TODO: remove with PVE 10+
if dpkg --compare-versions "$2" 'lt' '9.0.0'; then
if dpkg --compare-versions "$2" 'lt' '9.0.1'; then
remove_fabrics_directory
fi
;;
esac
#DEBHELPER#
exit 0