diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-11 12:15:30 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-11 12:15:30 +0000 |
commit | 51d9bc4cd3119c1bcf8510a2834c81d17474798c (patch) | |
tree | be85510fdf08cf2464af190536b9b159702786e9 | |
parent | 18d4bef13514abaf548dbfa4eaa75be4f5717b2b (diff) | |
download | drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.gz drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.bz2 drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.tar.xz drakx-51d9bc4cd3119c1bcf8510a2834c81d17474798c.zip |
removed limitation to only one port probed
-rw-r--r-- | perl-install/printerdrake.pm | 7 |
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) { |