X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=hwdb%2Fids-update.pl;h=86d414a6ffecf835ed63280684d26bca4d896b67;hp=68c63ede4383f82e14838cbd78cc4032b0264319;hb=1164e944d9689c3e94c100a634fb5a404662e247;hpb=d060b62fcb4746d3758c567e9379c6728a035b66 diff --git a/hwdb/ids-update.pl b/hwdb/ids-update.pl index 68c63ede4..86d414a6f 100755 --- a/hwdb/ids-update.pl +++ b/hwdb/ids-update.pl @@ -144,7 +144,7 @@ sub pci_vendor { my $sub_device = uc $2; my $sub_text = $3; $sub_text =~ s/^\Q$device_text\E\s*//; - $sub_text =~ s/(.+)/\ (\1\)/; + $sub_text =~ s/(.+)/\ ($1)/; print(OUT "\n"); print(OUT "pci:v0000" . $vendor . "d0000" . $device . "sv0000" . $sub_vendor . "sd0000" . $sub_device . "*\n"); print(OUT " ID_MODEL_FROM_DATABASE=" . $device_text . $sub_text . "\n");