summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-26 17:29:28 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-26 17:29:28 +0000
commit855c27c4cacc09baadbb74dc770f7e886a27eb0a (patch)
treec31f2e635eaa1525880ba36cdaa0038100e95a2c /perl-install/bootloader.pm
parent5777b884e4f8b480be63513ea3baa7ff09ba6f14 (diff)
downloaddrakx-855c27c4cacc09baadbb74dc770f7e886a27eb0a.tar
drakx-855c27c4cacc09baadbb74dc770f7e886a27eb0a.tar.gz
drakx-855c27c4cacc09baadbb74dc770f7e886a27eb0a.tar.bz2
drakx-855c27c4cacc09baadbb74dc770f7e886a27eb0a.tar.xz
drakx-855c27c4cacc09baadbb74dc770f7e886a27eb0a.zip
fixed another typo for adding restore entry (grub menu).
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 33708ed10..a6da7eb07 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -500,7 +500,7 @@ wait %d seconds for default boot.
#- add a restore entry if installation is done from disk, in order to allow redoing it.
if (my $hd_install_path = any::hdInstallPath()) {
if (-e "/tmp/image/boot/vmlinuz" && -e "/tmp/image/boot/all.rdz" and
- my ($cmdline) = cat_("/tmp/image/boot/menu.lst") =~ /kernel \S+\/boot\/vmlinuz (.*)$/) {
+ my ($cmdline) = cat_("/tmp/image/boot/grub/menu.lst") =~ /kernel \S+\/boot\/vmlinuz (.*)$/) {
log::l("adding a restore bootloader entry on $hd_install_path");
add_entry($bootloader, {
type => 'image',