From 678d1b168d6f481785585a1c4bab453d5aea1841 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 10 Jun 2001 16:39:32 +0000 Subject: (g_auto_install): more comments in auto_inst.cfg file --- perl-install/install_any.pm | 11 ++++++++--- 1 file 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'; -- cgit v1.2.1