summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer')
-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} ||