summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-03-17 18:28:37 +0000
committerFrancois Pons <fpons@mandriva.com>2000-03-17 18:28:37 +0000
commitc2291d42ccff39452769c2c5d1e62842765dcf7b (patch)
tree14ce67c307837e19500279e7d0133ac53933f329 /perl-install/install_steps.pm
parent3622540f67228fabb5399876b5af89f37cf461be (diff)
downloaddrakx-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar
drakx-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.gz
drakx-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.bz2
drakx-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.xz
drakx-c2291d42ccff39452769c2c5d1e62842765dcf7b.zip
*** empty log message ***
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});
+ }
}
}