kopia lustrzana https://gitlab.com/sane-project/backends
tools: epson2usb: always use 4 digits for USB IDs
Otherwise the sorting is too confusing when 3- and 4-digits are mixed.merge-requests/376/merge
rodzic
075bd9b7e9
commit
28176df499
|
@ -42,11 +42,8 @@ use warnings;
|
|||
next unless $m->{'usbid'} =~ /"0x04b8"\s+"(0x[[:xdigit:]]+)"/;
|
||||
|
||||
my $id = $1;
|
||||
|
||||
# print $id, "\n";
|
||||
|
||||
$id =~ s/0x0/0x/;
|
||||
|
||||
$m->{'model'} =~ s/;.+$//;
|
||||
$m->{'model'} =~ s/\"//g;
|
||||
$m->{'model'} =~ s/\s+$//;
|
||||
|
|
Ładowanie…
Reference in New Issue