diff options
author | Francois Pons <fpons@mandriva.com> | 2001-09-13 09:06:08 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-09-13 09:06:08 +0000 |
commit | 48f8788874b2c6921bc08a506d7761a9f7583037 (patch) | |
tree | 5c28510bfa2d2461e2f55138695f50b9ac5bfd10 /perl-install | |
parent | 5ef63450f088d8a2e08c2049c40b1ef212ba7f7d (diff) | |
download | drakx-48f8788874b2c6921bc08a506d7761a9f7583037.tar drakx-48f8788874b2c6921bc08a506d7761a9f7583037.tar.gz drakx-48f8788874b2c6921bc08a506d7761a9f7583037.tar.bz2 drakx-48f8788874b2c6921bc08a506d7761a9f7583037.tar.xz drakx-48f8788874b2c6921bc08a506d7761a9f7583037.zip |
fixed Printer name reporting for a specific printer.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 02fa7829c..ccfa76ac0 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -854,8 +854,8 @@ sub summary { pkgs::packageFlagInstalled(pkgs::packageByName($o->{packages}, 'cups')) and return _("Remote CUPS server"); return _("No printer"); } - my $entry = $printer->{configured}{$printer->{QUEUE}} || (values %{$printer->{configured}})[0]; - return "$entry->{'make'} $entry->{'model'}"; + my $entry = $printer->{configured}{currentqueue} || (values %{$printer->{configured}{queuedata}})[0]; + return "$entry->{make} $entry->{model}"; }; $o->ask_from_({ |