summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-29 14:05:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-29 14:05:22 +0000
commita90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b (patch)
treea6fbd31ec7755c4a37141bf1a8dca4788d8624ca
parent09a2700c494c6604c4d2e586d7e5e5ab0bc6c077 (diff)
downloaddrakx-backup-do-not-use-a90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b.tar
drakx-backup-do-not-use-a90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b.tar.gz
drakx-backup-do-not-use-a90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b.tar.bz2
drakx-backup-do-not-use-a90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b.tar.xz
drakx-backup-do-not-use-a90999ed7daa08d9eb92e0b8fa2cc69cfcb4e85b.zip
handle parsing of more complicated setup line in install.sh
-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 ba29d7896..40ff7af1e 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -231,7 +231,7 @@ sub read_grub {
#- matches either:
#- setup (hd0)
#- install (hd0,0)/boot/grub/stage1 d (hd0) (hd0,0)/boot/grub/stage2 p (hd0,0)/boot/grub/menu.lst
- if (cat_("$::prefix/boot/grub/install.sh") =~ /^(?:setup|install\s+(?:\S+)(?:\s+d)?)\s+(\(.*?\))/m) {
+ if (cat_("$::prefix/boot/grub/install.sh") =~ /^(?:setup.*|install\s.*\sd)\s+(\(.*?\))/m) {
$b{boot} = grub2dev($1, $grub2dev);
}