summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-12 12:02:21 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-12 12:02:21 +0000
commit5387d3020d316ea242b21230da5afd3065abb9df (patch)
tree2ba023261c74687bc4b0c0b6c3ca0e6b6e29a349
parent300c42db8c4ebb306fe7b07b656e5d5b1277b015 (diff)
downloaddrakx-5387d3020d316ea242b21230da5afd3065abb9df.tar
drakx-5387d3020d316ea242b21230da5afd3065abb9df.tar.gz
drakx-5387d3020d316ea242b21230da5afd3065abb9df.tar.bz2
drakx-5387d3020d316ea242b21230da5afd3065abb9df.tar.xz
drakx-5387d3020d316ea242b21230da5afd3065abb9df.zip
fix Hewlett-Packard to HP in case.
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index c97a23268..59cfb95bc 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -285,6 +285,7 @@ sub whatUsbport() {
my ($i, $elem, @res) = (0, {});
foreach (grep { $_->{type} =~ /Printer/ } usb_probe()) {
my ($manufacturer, $model) = split '\|', $_->{description};
+ $_->{description} =~ s/Hewlett[-\s_]Packard/HP/;
push @res, { port => "/dev/usb/lp$i", val => { CLASS => 'PRINTER',
MODEL => $model,
MANUFACTURER => $manufacturer,