diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2001-09-14 10:25:53 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2001-09-14 10:25:53 +0000 |
commit | 0b2101aecaf71248ee7f40203d7082aba7990ddc (patch) | |
tree | 528ff906f68151e2677bfcd413ce29bf7a6bf871 /perl-install/standalone | |
parent | 7823fbdcea8e109da2a7d8c4a12e5b92ff3d9ba3 (diff) | |
download | drakx-backup-do-not-use-0b2101aecaf71248ee7f40203d7082aba7990ddc.tar drakx-backup-do-not-use-0b2101aecaf71248ee7f40203d7082aba7990ddc.tar.gz drakx-backup-do-not-use-0b2101aecaf71248ee7f40203d7082aba7990ddc.tar.bz2 drakx-backup-do-not-use-0b2101aecaf71248ee7f40203d7082aba7990ddc.tar.xz drakx-backup-do-not-use-0b2101aecaf71248ee7f40203d7082aba7990ddc.zip |
Fixed spooler selection by command line.
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/printerdrake | 10 |
1 files changed, 5 insertions, 5 deletions
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'); } |