diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 08:55:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 08:55:59 +0000 |
commit | 83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c (patch) | |
tree | 67082b1f4bec8938b561ab1ab65d613e74a3f4e0 /perl-install/install_steps_interactive.pm | |
parent | 1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3 (diff) | |
download | drakx-backup-do-not-use-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar drakx-backup-do-not-use-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.gz drakx-backup-do-not-use-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.bz2 drakx-backup-do-not-use-83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c.tar.xz drakx-backup-do-not-use-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.pm | 2 |
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'; } } } |