]> git.proxmox.com Git - proxmox-backup.git/commitdiff
d/postinst: fix upper version for applying sync.cfg remove-vanished default
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 May 2022 11:36:03 +0000 (13:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 May 2022 11:40:24 +0000 (13:40 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst

index af290069b0f7d1c5fe64306a7457e6612fa6163f..1da1b3e4cd953b4a0ef0912707841489812d99c9 100644 (file)
@@ -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