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:
parent
95ff887721
commit
74f7616d07
1 changed files with 3 additions and 1 deletions
4
debian/pve-cluster.postinst
vendored
4
debian/pve-cluster.postinst
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue