diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 16:13:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 16:13:40 +0000 |
commit | 73e9459062f85bca8adef6976df8d4a6f2dbbbe0 (patch) | |
tree | eabc1b7087d327714d1837a563fdaa75a137387a /perl-install/install/steps.pm | |
parent | f9b8c020f93d96f52c734eba139e06b59d6a820f (diff) | |
download | drakx-73e9459062f85bca8adef6976df8d4a6f2dbbbe0.tar drakx-73e9459062f85bca8adef6976df8d4a6f2dbbbe0.tar.gz drakx-73e9459062f85bca8adef6976df8d4a6f2dbbbe0.tar.bz2 drakx-73e9459062f85bca8adef6976df8d4a6f2dbbbe0.tar.xz drakx-73e9459062f85bca8adef6976df8d4a6f2dbbbe0.zip |
- keep in $o->{previous_release} the info about upgraded /etc/release,
and pass "reason" and version to urpmi.addmedia
- we also parse {version} field out of /etc/release
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r-- | perl-install/install/steps.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index e669a3790..518ef8d18 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -175,6 +175,7 @@ sub selectInstallClass { # either one root is defined (and all is ok), or we take the first one we find my $p = fs::get::root_($o->{fstab}) || (first(install::any::find_root_parts($o->{fstab}, $::prefix)) || die)->{part}; $o->{migrate_device_names} = install::any::use_root_part($o->{all_hds}, $p); + $o->{previous_release} = $p if $o->{isUpgrade}; } } |