From bf902e6b84019fcd8ea25339f545b710f05351f4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 2 Sep 2005 10:47:40 +0000 Subject: allow upgrading a local_install (no need to call use_root_part) --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 15ee7014a..f6fcfc82f 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -169,7 +169,7 @@ sub selectInstallClass { if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) { # 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}, $o->{prefix})) || die)->{part}; - $o->{migrate_device_names} = install_any::use_root_part($o->{all_hds}, $p); + $o->{migrate_device_names} = install_any::use_root_part($o->{all_hds}, $p) if !$::local_install; } } -- cgit v1.2.1