summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-11 12:31:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-11 12:31:46 +0000
commit3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95 (patch)
treeafebab60e5720c4518118f663d0b54cf357a19ef /perl-install/printer
parent0dbcea82bd862926e42e46e3ac2b718ead1205d9 (diff)
downloaddrakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.gz
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.bz2
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.xz
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.zip
perl_checker compliance
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/detect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index ba7e2f1ac..71adef0cf 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -105,8 +105,9 @@ sub whatUsbport() {
# it again
my $itemfound = 0;
# Extract the printer data from the ID string
- my ($manufacturer, $model, $serialnumber, $description, $commandset, $sku) =
+ my ($manufacturer, $model, $serialnumber, $description, $commandset) =
("", "", "", "", "");
+ my ($sku);
if ($idstr =~ /MFG:([^;]+);/ || $idstr =~ /MANUFACTURER:([^;]+);/) {
$manufacturer = $1;
$manufacturer =~ s/Hewlett[-\s_]Packard/HP/;