summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-01 13:22:24 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-01 13:22:24 +0000
commit57c044f8c323f2d44fc55e77dd70afece7cc8bc8 (patch)
treeb77d34b429a7dab2005b478667bc7f2244f1fb2c /perl-install/printerdrake.pm
parentd2118727c8d024d96621cb1eb418958d870495fb (diff)
downloaddrakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.gz
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.bz2
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.tar.xz
drakx-57c044f8c323f2d44fc55e77dd70afece7cc8bc8.zip
*** empty log message ***
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index f7bbb254a..fae5f3cf5 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -327,9 +327,8 @@ sub main($$$;$) {
while ($continue) {
if ($::beginner || !(scalar keys %{$printer->{configured} || {}})) {
- $queue = $printer->{configured}{lp} || $in->ask_yesorno(_("Printer"),
- _("Would you like to configure a printer?"),
- $printer->{want}) ? 'lp' : 'Done';
+ $queue = $printer->{want} || $in->ask_yesorno(_("Printer"),
+ _("Would you like to configure a printer?"), 0) ? 'lp' : 'Done';
} else {
$queue = $in->ask_from_list_([''],
_("Here are the following print queues.