summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-03-03 00:18:14 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-03-03 00:18:14 +0000
commit7126bcad1a712ac850aaa01d5d741a998bf16ac3 (patch)
treeac52d0e42eae63bef24a7acf2f97dc59c7b7ac33 /perl-install/printer
parent1a3c998ac130567bacbec67c94efad8c0503fa19 (diff)
downloaddrakx-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.pm2
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;
}
}
}