diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-04-23 17:28:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-04-23 17:28:13 +0000 |
commit | dae4fc8cfaab1f494534e7c20e088d40c46319e9 (patch) | |
tree | dd1472e73e6451d465e29824a42e9edde134e36e /perl-install/install | |
parent | 8c40e9adc194dc717f139be6ea31711519a330d9 (diff) | |
download | drakx-backup-do-not-use-dae4fc8cfaab1f494534e7c20e088d40c46319e9.tar drakx-backup-do-not-use-dae4fc8cfaab1f494534e7c20e088d40c46319e9.tar.gz drakx-backup-do-not-use-dae4fc8cfaab1f494534e7c20e088d40c46319e9.tar.bz2 drakx-backup-do-not-use-dae4fc8cfaab1f494534e7c20e088d40c46319e9.tar.xz drakx-backup-do-not-use-dae4fc8cfaab1f494534e7c20e088d40c46319e9.zip |
(selectInstallClass) explain
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/steps_interactive.pm | 1 |
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); |