summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-05 05:50:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-05 05:50:17 +0000
commit021bea3b0bd1a14b10eda7ccc7d5f8383642aeca (patch)
treea61a1712f6997ba30ab8331d4d56ee023f25ea62 /perl-install
parent16b5a3af1260ee3e5b1b03c440aa598d5b05a874 (diff)
downloaddrakx-021bea3b0bd1a14b10eda7ccc7d5f8383642aeca.tar
drakx-021bea3b0bd1a14b10eda7ccc7d5f8383642aeca.tar.gz
drakx-021bea3b0bd1a14b10eda7ccc7d5f8383642aeca.tar.bz2
drakx-021bea3b0bd1a14b10eda7ccc7d5f8383642aeca.tar.xz
drakx-021bea3b0bd1a14b10eda7ccc7d5f8383642aeca.zip
when replaying, overwrite boot.msg with an empty message to win some space
(it was only done in non-replay mode)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 557f31c9f..427c019c3 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -907,11 +907,11 @@ sub getAndSaveAutoInstallFloppies {
} "$mountdir/syslinux.cfg";
unlink "$mountdir/help.msg";
- output "$mountdir/boot.msg", "\n0c",
+ output "$mountdir/boot.msg", $replay ? '' : "\n0c" .
"!! If you press enter, an auto-install is going to start.
All data on this computer is going to be lost,
including any Windows partitions !!
-", "07\n" if !$replay;
+" . "07\n";
}
fs::umount($mountdir);