summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2002-07-30 00:08:07 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2002-07-30 00:08:07 +0000
commitbc288042a936ae5d0af8d7eab11f4052c18bfc7f (patch)
tree38682869b67b736849597231627335187b6849fa /perl-install
parent3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3 (diff)
downloaddrakx-bc288042a936ae5d0af8d7eab11f4052c18bfc7f.tar
drakx-bc288042a936ae5d0af8d7eab11f4052c18bfc7f.tar.gz
drakx-bc288042a936ae5d0af8d7eab11f4052c18bfc7f.tar.bz2
drakx-bc288042a936ae5d0af8d7eab11f4052c18bfc7f.tar.xz
drakx-bc288042a936ae5d0af8d7eab11f4052c18bfc7f.zip
Better placement for waiting message.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printerdrake.pm2
1 files changed, 1 insertions, 1 deletions
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.