summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-29 17:19:42 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-29 17:19:42 +0000
commit3b3d86841333d7ee58909b899863d044b3e11fa0 (patch)
tree584cfea2fce03b0c144bd7b287d1d69a80ddb3c0 /perl-install/printerdrake.pm
parent21b8377bfb2f26760f2baf81295b89f325851ec5 (diff)
downloaddrakx-3b3d86841333d7ee58909b899863d044b3e11fa0.tar
drakx-3b3d86841333d7ee58909b899863d044b3e11fa0.tar.gz
drakx-3b3d86841333d7ee58909b899863d044b3e11fa0.tar.bz2
drakx-3b3d86841333d7ee58909b899863d044b3e11fa0.tar.xz
drakx-3b3d86841333d7ee58909b899863d044b3e11fa0.zip
*** empty log message ***
Diffstat (limited to 'perl-install/printerdrake.pm')
-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 151c5dd0e..ed70ba60b 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -37,7 +37,7 @@ sub setup_local($$$) {
}
if (!$::expert && @str) {
@port = map { $_->{port} } grep { $_->{val}{DESCRIPTION} } @parport;
- @port > 0 and $in = undef;
+ @port == 1 and $in = undef;
} else {
@port = detect_devices::whatPrinterPort();
}