summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-05 09:41:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-05 09:41:37 +0000
commite1e7788cef9df92fd92788f4ef7806685d39eb86 (patch)
treedb5cd012c1c7652fc776405cda1dffbd441a6bfb /perl-install/install_any.pm
parente4ff3e3b75c7dbb618b21f97cb234ab64a0dd930 (diff)
downloaddrakx-backup-do-not-use-e1e7788cef9df92fd92788f4ef7806685d39eb86.tar
drakx-backup-do-not-use-e1e7788cef9df92fd92788f4ef7806685d39eb86.tar.gz
drakx-backup-do-not-use-e1e7788cef9df92fd92788f4ef7806685d39eb86.tar.bz2
drakx-backup-do-not-use-e1e7788cef9df92fd92788f4ef7806685d39eb86.tar.xz
drakx-backup-do-not-use-e1e7788cef9df92fd92788f4ef7806685d39eb86.zip
replacing automatic=method:disk with $param instead of adding $param (since $param already contains automatic=met:disk)
Diffstat (limited to 'perl-install/install_any.pm')
-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 {