summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-05 08:55:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-05 08:55:59 +0000
commit83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c (patch)
tree67082b1f4bec8938b561ab1ab65d613e74a3f4e0 /perl-install/install_steps_interactive.pm
parent1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3 (diff)
downloaddrakx-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar
drakx-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.gz
drakx-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.bz2
drakx-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.xz
drakx-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.zip
basic code for upgrading from a redhat distribution
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index cda91d1eb..6e377824a 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -163,7 +163,7 @@ sub selectInstallClass {
[ { label => N("Encryption key for %s", $_->{mntpoint}),
hidden => 1, val => \$_->{encrypt_key} } ]);
}
- $o->{isUpgrade} = 1;
+ $o->{isUpgrade} = $p->{release_file} =~ /redhat/ ? 'redhat' : 'mandrake';
}
}
}