From 51d9bc4cd3119c1bcf8510a2834c81d17474798c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 11 Apr 2001 12:15:30 +0000 Subject: removed limitation to only one port probed --- perl-install/printerdrake.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 11c1f9486..4fcbb2fac 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -36,12 +36,7 @@ sub setup_local($$$) { $_->{val}{DESCRIPTION} and push @str, _("A printer, model \"%s\", has been detected on ", $_->{val}{DESCRIPTION}) . $_->{port}; } - if (!$::expert && @str) { - @port = map { $_->{port} } grep { $_->{val}{DESCRIPTION} } @parport; - @port == 1 and $in = undef; - } else { - @port = detect_devices::whatPrinterPort(); - } + @port = detect_devices::whatPrinterPort(); $printer->{DEVICE} = $port[0] if $port[0]; if ($in) { -- cgit v1.2.1