summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
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.