summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 3f99c2f82..70675e4b7 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -795,7 +795,7 @@ sub getAndSaveAutoInstallFloppies {
# hd_grub boot disk is different than others
substInFile {
s/^(\s*timeout.*)/timeout 1/;
- s/(\s*automatic=method:disk)/$1 $param/
+ s/\bautomatic=method:disk/$param/;
} "$mountdir/menu.lst";
} elsif (-e "$mountdir/syslinux.cfg") {
substInFile {