summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
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) {