From 0b2101aecaf71248ee7f40203d7082aba7990ddc Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Fri, 14 Sep 2001 10:25:53 +0000 Subject: Fixed spooler selection by command line. --- perl-install/standalone/printerdrake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/standalone/printerdrake') diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake index db95a8e51..d152a2cad 100755 --- a/perl-install/standalone/printerdrake +++ b/perl-install/standalone/printerdrake @@ -48,15 +48,15 @@ my $w = $in->wait_message('', _("Reading printer data ...")); eval { $printer = printer::getinfo('') }; # Choose the spooler by command line options /-cups/ and - $printer->{mode} = 'cups' and printer::read_configured_queues($printer); + $printer->{SPOOLER} = 'cups' and printer::read_configured_queues($printer); /-lpr/ and - $printer->{mode} = 'lpd' and printer::read_configured_queues($printer); + $printer->{SPOOLER} = 'lpd' and printer::read_configured_queues($printer); /-lpd/ and - $printer->{mode} = 'lpd' and printer::read_configured_queues($printer); + $printer->{SPOOLER} = 'lpd' and printer::read_configured_queues($printer); /-lprng/ and - $printer->{mode} = 'lprng' and printer::read_configured_queues($printer); + $printer->{SPOOLER} ='lprng' and printer::read_configured_queues($printer); /-pdq/ and - $printer->{mode} = 'pdq' and printer::read_configured_queues($printer); + $printer->{SPOOLER} = 'pdq' and printer::read_configured_queues($printer); -r '/etc/modules.conf' and modules::mergein_conf('/etc/modules.conf'); } -- cgit v1.2.1