summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-05 13:47:19 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-05 13:47:19 +0000
commit4df4dd185be4a9ac2a184783844c9bc523aa40ed (patch)
treefa2617d8a09a9e7ed3a4d0921c9c4f88c5309b07
parent41c9cb38de38428a2a01657f04d0dfbd1a280e83 (diff)
downloaddrakx-4df4dd185be4a9ac2a184783844c9bc523aa40ed.tar
drakx-4df4dd185be4a9ac2a184783844c9bc523aa40ed.tar.gz
drakx-4df4dd185be4a9ac2a184783844c9bc523aa40ed.tar.bz2
drakx-4df4dd185be4a9ac2a184783844c9bc523aa40ed.tar.xz
drakx-4df4dd185be4a9ac2a184783844c9bc523aa40ed.zip
fixed configurePrinter (used for auto_install).
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 950bbdb90..c6d3b9fb7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -610,7 +610,11 @@ sub configurePrinter {
printerdrake::install_spooler($o->{printer}, $o); #- not interactive...
foreach (values %{$o->{printer}{configured} || {}}) {
- log::l("configuring printer queue $_->{QUEUE} for $_->{mode}");
+ log::l("configuring printer queue $_->{queuedata}{queue} or $_->{QUEUE}");
+ #- when copy is so adulée (sorry french taste :-)
+ #- and when there are some configuration in one place and in another place...
+ $o->{printer}{currentqueue} = {};
+ printer::copy_printer_params($_->{queuedata}, $o->{printer}{currentqueue});
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.