summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-23 17:28:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-23 17:28:11 +0000
commit8c40e9adc194dc717f139be6ea31711519a330d9 (patch)
treefc87e0519fa9c5ed13c94f6664caa5a2e3023652
parent13115cefd51dbae124b0467fbe2bad408ae8c983 (diff)
downloaddrakx-backup-do-not-use-8c40e9adc194dc717f139be6ea31711519a330d9.tar
drakx-backup-do-not-use-8c40e9adc194dc717f139be6ea31711519a330d9.tar.gz
drakx-backup-do-not-use-8c40e9adc194dc717f139be6ea31711519a330d9.tar.bz2
drakx-backup-do-not-use-8c40e9adc194dc717f139be6ea31711519a330d9.tar.xz
drakx-backup-do-not-use-8c40e9adc194dc717f139be6ea31711519a330d9.zip
(selectInstallClass) do not offer to upgrade mdv 201[1-9] (mga#5004)
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_interactive.pm2
2 files changed, 2 insertions, 1 deletions
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);
}