summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-13 09:06:08 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-13 09:06:08 +0000
commit48f8788874b2c6921bc08a506d7761a9f7583037 (patch)
tree5c28510bfa2d2461e2f55138695f50b9ac5bfd10
parent5ef63450f088d8a2e08c2049c40b1ef212ba7f7d (diff)
downloaddrakx-backup-do-not-use-48f8788874b2c6921bc08a506d7761a9f7583037.tar
drakx-backup-do-not-use-48f8788874b2c6921bc08a506d7761a9f7583037.tar.gz
drakx-backup-do-not-use-48f8788874b2c6921bc08a506d7761a9f7583037.tar.bz2
drakx-backup-do-not-use-48f8788874b2c6921bc08a506d7761a9f7583037.tar.xz
drakx-backup-do-not-use-48f8788874b2c6921bc08a506d7761a9f7583037.zip
fixed Printer name reporting for a specific printer.
-rw-r--r--perl-install/install_steps_interactive.pm4
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_({