summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-07 10:24:55 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-07 10:24:55 +0000
commit40dcd0a59c0cce9b75f40b338799f5f28dd87cf6 (patch)
tree7d1ec08f4fe6eb0f1ae7c9927a30f2fda7b2347c /perl-install/install_steps.pm
parent995ea591c5076d0a1f809f4b0c5d919db7510c88 (diff)
downloaddrakx-40dcd0a59c0cce9b75f40b338799f5f28dd87cf6.tar
drakx-40dcd0a59c0cce9b75f40b338799f5f28dd87cf6.tar.gz
drakx-40dcd0a59c0cce9b75f40b338799f5f28dd87cf6.tar.bz2
drakx-40dcd0a59c0cce9b75f40b338799f5f28dd87cf6.tar.xz
drakx-40dcd0a59c0cce9b75f40b338799f5f28dd87cf6.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 2b7c44417..58e15fde7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -659,6 +659,8 @@ sub configurePrinter {
$o->installPackages($o->{packages});
require printer;
+ eval { add2hash($o->{printer}, printer::getinfo($o->{prefix})) }; #- get existing configuration.
+ printer::read_printer_db(); #- load printer db, else configuration will fails.
foreach (keys %{$o->{printer}{configured} || {}}) {
log::l("configuring printer queue $_->{queue}");
printer::copy_printer_params($_, $o->{printer});