diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2004-03-03 00:18:14 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2004-03-03 00:18:14 +0000 |
commit | 7126bcad1a712ac850aaa01d5d741a998bf16ac3 (patch) | |
tree | ac52d0e42eae63bef24a7acf2f97dc59c7b7ac33 /perl-install/printer | |
parent | 1a3c998ac130567bacbec67c94efad8c0503fa19 (diff) | |
download | drakx-7126bcad1a712ac850aaa01d5d741a998bf16ac3.tar drakx-7126bcad1a712ac850aaa01d5d741a998bf16ac3.tar.gz drakx-7126bcad1a712ac850aaa01d5d741a998bf16ac3.tar.bz2 drakx-7126bcad1a712ac850aaa01d5d741a998bf16ac3.tar.xz drakx-7126bcad1a712ac850aaa01d5d741a998bf16ac3.zip |
Let HPOJ device entry be created with the correct printer model name.
Diffstat (limited to 'perl-install/printer')
-rw-r--r-- | perl-install/printer/main.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } } |