diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-10 10:19:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-10 10:19:11 +0000 |
commit | ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5 (patch) | |
tree | 75ef6eaede0c0b94f64f50dce67004079926d0c4 | |
parent | 1366ba7668973fede10bc34d0759b7cebd9d2099 (diff) | |
download | drakx-ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5.tar drakx-ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5.tar.gz drakx-ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5.tar.bz2 drakx-ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5.tar.xz drakx-ddf97599f4e03d4c7fb5eed06b8746150c5f3ab5.zip |
(main): cleanup
-rw-r--r-- | perl-install/printerdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 998b2eef4..37560ecde 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -338,7 +338,7 @@ sub main($$$;$) { my ($queue, $continue) = ('', 1); while ($continue) { - if (!$::expert || !(scalar keys %{$printer->{configured} || {}})) { + if (!$::expert || %{$printer->{configured} || {}} == ()) { $queue = $printer->{want} || $in->ask_yesorno(_("Printer"), _("Would you like to configure a printer?"), 0) ? 'lp' : 'Done'; } else { |