summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-25 05:31:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-25 05:31:52 +0000
commitce17d3a6903a20969719dcab8fbb7b22ccd2d8e6 (patch)
tree3d8430d1e09ac9f382a5b12b30e50f532a2385cb /perl-install/standalone
parent103ec880cbbcbc2d36131319fa22edbfe6d54069 (diff)
downloaddrakx-backup-do-not-use-ce17d3a6903a20969719dcab8fbb7b22ccd2d8e6.tar
drakx-backup-do-not-use-ce17d3a6903a20969719dcab8fbb7b22ccd2d8e6.tar.gz
drakx-backup-do-not-use-ce17d3a6903a20969719dcab8fbb7b22ccd2d8e6.tar.bz2
drakx-backup-do-not-use-ce17d3a6903a20969719dcab8fbb7b22ccd2d8e6.tar.xz
drakx-backup-do-not-use-ce17d3a6903a20969719dcab8fbb7b22ccd2d8e6.zip
adapt to new bootloader.pm
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakboot6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 21622e21f..7671271a7 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -236,13 +236,13 @@ $in->exit(0);
sub lilo_choice() {
- my $bootloader = bootloader::read();
-
my $all_hds = fsedit::get_hds();
fs::get_raw_hds('', $all_hds);
fs::get_info_from_fstab($all_hds, '');
my $fstab = [ fsedit::get_all_fstab($all_hds) ];
+ my $bootloader = bootloader::read($fstab);
+
ask:
eval {
my $before = fs::fstab_to_string($all_hds);
@@ -257,7 +257,7 @@ sub lilo_choice() {
# BUG: note that the following message won't speak about the right bootloader if user is currently switching between
# various bootloaders and if the error occured before boot sector get overwritten by bootloader installer
$in->ask_warn(N("Error"),
- [ N("Installation of %s failed. The following error occured:", bootloader::detect_bootloader()), $err ]);
+ [ N("Installation of %s failed. The following error occured:", $bootloader->{method}), $err ]);
goto ask;
}
}