summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-15 23:23:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-15 23:23:17 +0000
commit2a7b8f1c3734f010786ccc8f3162f464e2f28230 (patch)
treef6894fa78f83146cf1f3e5252bb34ec93d6ce241 /perl-install/install_steps.pm
parent0c5bc5d262c17df0a9983018c76f83f3bdd936ee (diff)
downloaddrakx-backup-do-not-use-2a7b8f1c3734f010786ccc8f3162f464e2f28230.tar
drakx-backup-do-not-use-2a7b8f1c3734f010786ccc8f3162f464e2f28230.tar.gz
drakx-backup-do-not-use-2a7b8f1c3734f010786ccc8f3162f464e2f28230.tar.bz2
drakx-backup-do-not-use-2a7b8f1c3734f010786ccc8f3162f464e2f28230.tar.xz
drakx-backup-do-not-use-2a7b8f1c3734f010786ccc8f3162f464e2f28230.zip
adapt to install_any::find_root_parts() return value changes
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index bf8a1486c..2434d4c42 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -139,7 +139,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 = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) or die;
+ my $p = fsedit::get_root_($o->{fstab}) || (first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) || die)->{part};
install_any::use_root_part($o->{all_hds}, $p, $o->{prefix});
}
}