summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-11 12:15:30 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-11 12:15:30 +0000
commit51d9bc4cd3119c1bcf8510a2834c81d17474798c (patch)
treebe85510fdf08cf2464af190536b9b159702786e9 /perl-install/printerdrake.pm
parent18d4bef13514abaf548dbfa4eaa75be4f5717b2b (diff)
downloaddrakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar
drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.gz
drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.bz2
drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.xz
drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.zip
removed limitation to only one port probed
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm7
1 files changed, 1 insertions, 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) {