summaryrefslogtreecommitdiffstats
path: root/perl-install/scanner.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/scanner.pm')
-rw-r--r--perl-install/scanner.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm
index 0d9015eec..dd42cbb7e 100644
--- a/perl-install/scanner.pm
+++ b/perl-install/scanner.pm
@@ -290,7 +290,7 @@ sub detect {
# We have vendor and product ID, look up the scanner in
# the usbtable
- foreach my $entry (cat_("$scannerDBdir/usbtable")) {
+ foreach my $entry (common::catMaybeCompressed("$scannerDBdir/usbtable")) {
if ($entry =~
/^\s*$vendorid\s+$productid\s+.*\"([^\"]+)\"\s*$/) {
$description = $1;