summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
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});