summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_interactive.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-03 14:47:39 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-03 14:47:39 +0000
commitac018681b878b4c324adc77e65adeaaa1edbfa0e (patch)
tree2a528103dc082de58fa1c70876204fde0916d14a /perl-install/install/steps_interactive.pm
parent9adf29cff172f289f893fe6489566d965fe806fe (diff)
downloaddrakx-ac018681b878b4c324adc77e65adeaaa1edbfa0e.tar
drakx-ac018681b878b4c324adc77e65adeaaa1edbfa0e.tar.gz
drakx-ac018681b878b4c324adc77e65adeaaa1edbfa0e.tar.bz2
drakx-ac018681b878b4c324adc77e65adeaaa1edbfa0e.tar.xz
drakx-ac018681b878b4c324adc77e65adeaaa1edbfa0e.zip
do not offer to upgrade/install in restore mode
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r--perl-install/install/steps_interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index b296702f4..a3336d930 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -125,6 +125,8 @@ sub selectKeyboard {
sub selectInstallClass {
my ($o) = @_;
+ return if $::isRestore;
+
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();