From 7126bcad1a712ac850aaa01d5d741a998bf16ac3 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Wed, 3 Mar 2004 00:18:14 +0000 Subject: Let HPOJ device entry be created with the correct printer model name. --- perl-install/printer/main.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 811397ebf..d9f06ddde 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -2312,6 +2312,8 @@ sub configure_hpoj { $_->{val}{MODEL} =~ /^\s*$/) { if ($model_long =~ /:([^:;]+);/) { $_->{val}{MODEL} = $1; + $model = $_->{val}{MODEL}; + $model =~ s/ /_/g; } } } -- cgit v1.2.1