From e032df45a0b6c4caf6bbd15d062c15e0058d372a Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Mon, 15 Sep 2003 16:31:25 +0000 Subject: Put device identity info into the HPOJ config file also when HPOJ configuration was not verified (LIDIL devices). --- perl-install/printer/main.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index d692f79d9..a099eac69 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -2282,6 +2282,11 @@ sub configure_hpoj { } # No, it is not an HP multi-function device. return "" if !$device_ok; + + # If $model_long and $serialnumber_long stay empty, fill them with + # $model and $serialnumber + $model_long ||= $model; + $serialnumber_long ||= $serialnumber; # Determine the ptal device name from already existing config files my $ptalprefix = -- cgit v1.2.1