From 5408e30ab12bb6c78c6f4156fd5a8997744ca02b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 30 May 2022 13:36:03 +0200 Subject: [PATCH] d/postinst: fix upper version for applying sync.cfg remove-vanished default Signed-off-by: Thomas Lamprecht --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index af290069b..1da1b3e4c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -41,7 +41,7 @@ case "$1" in flock -w 30 /var/log/proxmox-backup/tasks/active.lock sed -i 's/:termproxy::\([^@]\+\): /:termproxy::\1@pam: /' /var/log/proxmox-backup/tasks/active || true fi - if dpkg --compare-versions "$2" 'lt' '7.1-1' && test -e /etc/proxmox-backup/sync.cfg; then + if dpkg --compare-versions "$2" 'lt' '2.1.3~' && test -e /etc/proxmox-backup/sync.cfg; then prev_job="" # read from HERE doc because POSIX sh limitations