summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer/printerdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 46e5a2fdf..7fd9d5496 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -2522,7 +2522,8 @@ sub setup_common {
printer::main::hplip_device_entry_from_uri
($hplipdevice);
}
- if ($makemodel !~ /\S/) {
+ if (($makemodel !~ /\S/) ||
+ ($makemodel =~ /$searchunknown/)) {
$makemodel = $hplipentry->{model};
$makemodel =~ s/_/ /g;
$makemodel = "HP " . $makemodel