summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-23 17:28:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-23 17:28:13 +0000
commit9df9cd7d261c5c9c87597825251aa0259cce4e90 (patch)
treedd1472e73e6451d465e29824a42e9edde134e36e /perl-install/install
parentc9d7bd7cb8c8e3da60669c79a456f68c63e67fa7 (diff)
downloaddrakx-9df9cd7d261c5c9c87597825251aa0259cce4e90.tar
drakx-9df9cd7d261c5c9c87597825251aa0259cce4e90.tar.gz
drakx-9df9cd7d261c5c9c87597825251aa0259cce4e90.tar.bz2
drakx-9df9cd7d261c5c9c87597825251aa0259cce4e90.tar.xz
drakx-9df9cd7d261c5c9c87597825251aa0259cce4e90.zip
(selectInstallClass) explain
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/steps_interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 46ab17efe..c5a834e27 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -130,6 +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();
+ # Offer to upgrade only same arch and not mdv-2011+:
@l = grep { $_->{arch} eq $arch && $_->{version} !~ /201[1-9]/ } @l;
if (@l) {
_try_to_upgrade($o, @l);