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.pm12
1 files changed, 9 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 146447a0a..5abd53cff 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -465,13 +465,19 @@ sub servicesConfig {}
#------------------------------------------------------------------------------
sub printerConfig {
my($o) = @_;
- if ($o->{printer}{complete}) {
- require printer;
+ if ($o->{printer}{configured}) {
require pkgs;
pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, 'rhs-printfilters'));
$o->installPackages($o->{packages});
- printer::configure_queue($o->{printer});
+ require printer;
+ foreach (keys %{$o->{printer}{configured} || {}}) {
+ log::l("configuring printer queue $_->{queue}");
+ printer::copy_printer_params($_, $o->{printer});
+ #- setup all configured queues, which is not the case interactively where
+ #- only the working queue is setup on configuration.
+ printer::configure_queue($o->{printer});
+ }
}
}