From 907ba4dd61c9636c28376e0479a8d3e4e00c26b7 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 2 Apr 2025 18:50:22 +0200 Subject: [PATCH] fix version for upgrade handling for datastore locking using /run now See commit 27dd7377 ("fix #3935: datastore/api/backup: move datastore locking to '/run'") for details, as I'll bump PBS now we can fixate the version and drop the safety-net "reminder" from d/rules again. Signed-off-by: Thomas Lamprecht --- debian/postinst | 2 +- debian/rules | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/postinst b/debian/postinst index b9afda2e..f38a8c66 100644 --- a/debian/postinst +++ b/debian/postinst @@ -73,7 +73,7 @@ EOF fi fi - if dpkg --compare-versions "$2" 'lt' '3.3.4~'; then + if dpkg --compare-versions "$2" 'lt' '3.3.5~'; then # ensure old locking is used by the daemon until a reboot happened touch "/run/proxmox-backup/old-locking" fi diff --git a/debian/rules b/debian/rules index 6e1844e1..a03fe11b 100755 --- a/debian/rules +++ b/debian/rules @@ -22,8 +22,6 @@ ifneq ("$(wildcard .repoid)","") endif %: - @echo "fix locking version in postinst" - false dh $@ --with=bash-completion override_dh_auto_configure: