From ba8e8f1212675679d40009210454f62d26db2182 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Feb 2004 16:49:53 +0000 Subject: do not abuse global namespace --- perl-install/standalone/drakautoinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakautoinst') diff --git a/perl-install/standalone/drakautoinst b/perl-install/standalone/drakautoinst index 1714a5dae..a7faf4617 100755 --- a/perl-install/standalone/drakautoinst +++ b/perl-install/standalone/drakautoinst @@ -29,7 +29,7 @@ use Data::Dumper; local $_ = join '', @ARGV; -$::direct = /-direct/; +my $direct = /-direct/; my $in = 'interactive'->vnew('su', 'default'); @@ -37,7 +37,7 @@ my $imagefile = "/root/drakx/replay_install.img"; -f $imagefile or $in->ask_warn(N("Error!"), N("I can't find needed image file `%s'.", $imagefile), 1), quit_global($in, 0); -$::direct or $in->ask_okcancel(N("Auto Install Configurator"), +my $direct or $in->ask_okcancel(N("Auto Install Configurator"), N("You are about to configure an Auto Install floppy. This feature is somewhat dangerous and must be used circumspectly. With that feature, you will be able to replay the installation you've performed on this computer, being interactively prompted for some steps, in order to change their values. -- cgit v1.2.1