summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-02-17 04:24:27 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-02-17 04:24:27 +0000
commite8d2639e9fe4581f884906c80933501add00c3fb (patch)
tree0b8a2506d0aff82d36d979e3e51b5fcd79d11487 /perl-install/printer/main.pm
parent15afa578a5bd7a41689c6ab2e22082f0c276a4f9 (diff)
downloaddrakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.gz
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.bz2
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.tar.xz
drakx-e8d2639e9fe4581f884906c80933501add00c3fb.zip
- Restructured function "main()"
- Made automatic queue setup being done during installation - Support for unknown printers in auto-detection and in automatic queue setup - Fixed determination of default printer - Fixed printer help page display - Fixed wait message in /usr/sbin/printerdrake
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 4cb64c8f2..84fbaf1aa 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -1824,7 +1824,8 @@ sub help_output {
open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . sprintf($spoolers{$spooler}{help}, $queue);
my $helptext = join("", <F>);
close F;
- $helptext = "Option list not available!\n" if $spooler eq 'lpq' && (!$helptext || $helptext eq "");
+ $helptext = "Option list not available!\n"
+ if (!$helptext || $helptext eq "");
return $helptext;
}