From bc288042a936ae5d0af8d7eab11f4052c18bfc7f Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 30 Jul 2002 00:08:07 +0000 Subject: Better placement for waiting message. --- perl-install/printerdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 866812467..09f274ec1 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -142,7 +142,6 @@ sub setup_printer_connection { sub auto_detect { my ($in) = @_; { - my $w = $in->wait_message(_("Test ports"), _("Detecting devices...")); modules::get_probeall("usb-interface") and eval { modules::load("printer") }; eval { modules::unload(qw(lp parport_pc parport_probe parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again eval { modules::load(qw(parport_pc lp parport_probe)); }; #- take care as not available on 2.4 kernel (silent error). @@ -229,6 +228,7 @@ Do you really want to get your printers auto-detected?"), my $menuentries = {}; $in->set_help('setupLocal') if $::isInstall; if ($do_auto_detect) { + my $w = $in->wait_message(_("Test ports"), _("Detecting devices...")); # When HPOJ is running, it blocks the printer ports on which it is # configured, so we stop it here. If it is not installed or not # configured, this command has no effect. -- cgit v1.2.1