mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 05:16:26 +00:00
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:
parent
6cfada4a8f
commit
4209cc3ad3
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user