summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-06-10 16:39:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-06-10 16:39:32 +0000
commit678d1b168d6f481785585a1c4bab453d5aea1841 (patch)
treedc8dec05bc233cb751977019a5115963800b1d8d /perl-install
parent533b27ffa02843287a991c3b7f052f28ba087be0 (diff)
downloaddrakx-678d1b168d6f481785585a1c4bab453d5aea1841.tar
drakx-678d1b168d6f481785585a1c4bab453d5aea1841.tar.gz
drakx-678d1b168d6f481785585a1c4bab453d5aea1841.tar.bz2
drakx-678d1b168d6f481785585a1c4bab453d5aea1841.tar.xz
drakx-678d1b168d6f481785585a1c4bab453d5aea1841.zip
(g_auto_install): more comments in auto_inst.cfg file
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 83d804530..9bba376cb 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -656,9 +656,14 @@ sub g_auto_install {
$_ = { %{$_ || {}} }, delete @$_{qw(oldu oldg password password2)} foreach $o->{superuser}, @{$o->{users} || []};
require Data::Dumper;
- join('',
- "# You should always check the syntax with 'perl -cw auto_inst.cfg.pl' before testing\n",
- Data::Dumper->Dump([$o], ['$o']), if_($replay,
+ join('',
+"#!/usr/bin/perl -cw
+#
+# You should check the syntax of this file before using it in an auto-install. You
+# can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file (note the
+# '#!/usr/bin/perl -cw' on the first line).
+",
+ Data::Dumper->Dump([$o], ['$o']), if_($replay,
qq(\npackage install_steps_auto_install;), q(
$graphical = 1;
push @graphical_steps, 'doPartitionDisks', 'choosePartitionsToFormat', 'formatMountPartitions';