From c9d7bd7cb8c8e3da60669c79a456f68c63e67fa7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Apr 2012 17:28:11 +0000 Subject: (selectInstallClass) do not offer to upgrade mdv 201[1-9] (mga#5004) --- perl-install/install/NEWS | 1 + perl-install/install/steps_interactive.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 92dc7c1f9..3af26f0ec 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- do not offer to upgrade mdv 201[1-9] (mga#5004) - individual package selection: o fix a crash diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index db16681fb..46ab17efe 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -130,7 +130,7 @@ sub selectInstallClass { my @l = install::any::find_root_parts($o->{fstab}, $::prefix); # Don't list other archs as ugrading between archs is not supported my $arch = arch() =~ /i.86/ ? $MDK::Common::System::compat_arch{arch()} : arch(); - @l = grep { $_->{arch} eq $arch } @l; + @l = grep { $_->{arch} eq $arch && $_->{version} !~ /201[1-9]/ } @l; if (@l) { _try_to_upgrade($o, @l); } -- cgit v1.2.1