From 4209cc3ad358ff7a2b37c7616b6e3e01311b12f0 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 29 May 2023 15:41:35 +0200 Subject: [PATCH] d/postinst: fix version format for apt auth config migration check The mistake wasn't that bad, as we mostly checked for the migration to often, i.e., for any update to the 7.2-X releases, not just until 7.2-11 was crossed (but with 7.3-X the check worked again as indented). Signed-off-by: Thomas Lamprecht --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index d8ee170d..5a3d9472 100755 --- a/debian/postinst +++ b/debian/postinst @@ -228,7 +228,7 @@ case "$1" in done fi - if test ! -e /proxmox_install_mode && test -n "$2" && dpkg --compare-versions "$2" 'lt' '7.2.11~'; then + if test ! -e /proxmox_install_mode && test -n "$2" && dpkg --compare-versions "$2" 'lt' '7.2-11~'; then if test -e /etc/apt/auth.conf ; then migrate_apt_auth_conf fi