summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 12:43:32 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 12:43:32 +0000
commitdebca0f079a807a1fc05997de736c69a3fcf97eb (patch)
tree573310c404d67737969d150ab407ce68bb4cba27
parentfb84c3d295fcfc82eb749857b6db82f51c8d3419 (diff)
downloaddrakx-backup-do-not-use-debca0f079a807a1fc05997de736c69a3fcf97eb.tar
drakx-backup-do-not-use-debca0f079a807a1fc05997de736c69a3fcf97eb.tar.gz
drakx-backup-do-not-use-debca0f079a807a1fc05997de736c69a3fcf97eb.tar.bz2
drakx-backup-do-not-use-debca0f079a807a1fc05997de736c69a3fcf97eb.tar.xz
drakx-backup-do-not-use-debca0f079a807a1fc05997de736c69a3fcf97eb.zip
Fixed recognition of installed parallel HPOJ-driven MF devices.
-rw-r--r--perl-install/printer/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index a0f113a35..9add764d4 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -2051,7 +2051,7 @@ sub autodetectionentry_for_uri {
return $p;
}
} else {
- my $model = $1 if $ptaldevice =~ /^usb:(.*)$/;
+ my $model = $2 if $ptaldevice =~ /^(usb|par):(.*)$/;
$model =~ s/_/ /g;
foreach my $p (@autodetected) {
next if !$p->{val}{MODEL} ||