From: Thomas Lamprecht Date: Tue, 3 Dec 2019 12:50:16 +0000 (+0100) Subject: pveversion: fix removed packages with residual configs X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=966a5de3482f5c30cf909ad5934a9f2c14c570e6;p=pve-manager.git pveversion: fix removed packages with residual configs Those ain't 'not correctly installed', so do not suggest the user that. Signed-off-by: Thomas Lamprecht --- diff --git a/bin/pveversion b/bin/pveversion index bed349e8..591f63e7 100755 --- a/bin/pveversion +++ b/bin/pveversion @@ -24,6 +24,8 @@ sub print_status { my $version = "not correctly installed"; if ($pkginfo->{OldVersion} && $pkginfo->{CurrentState} eq 'Installed') { $version = $pkginfo->{OldVersion}; + } elsif ($pkginfo->{CurrentState} eq 'ConfigFiles') { + $version = 'residual config'; } if ($pkginfo->{RunningKernel}) {