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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-29 15:41:35 +02:00
parent 6cfada4a8f
commit 4209cc3ad3

2
debian/postinst vendored
View File

@ -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