From 2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Sun, 29 Aug 2004 20:40:36 +0000 Subject: - Inform the user on first-time setup, both during or after installation, that he can set up a daemon-less CUPS client. - Warn the user when printerdrake is set to daemon-less CUPS client but no server is specified. - Fixed bug of local queues not being recognized when the spooler daemon is not running during printerdrake startup. - Do not try to copy print queues when switchung from daemon-less CUPS to normal CUPS. - Remove the client.conf when switching from daemon-less CUPS to normal CUPS. --- perl-install/printer/main.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/printer/main.pm') diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 349d98a50..b7cebdc6c 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -55,9 +55,9 @@ sub spooler() { # PDQ is not officially supported any more since version 9.1, so # show it only in the spooler menu when it was manually installed. - return map { $spoolers{$_}{long_name} } qw(cups, rcups), + return map { $spoolers{$_}{long_name} } ('cups', 'rcups' , if_(files_exist(qw(/usr/bin/pdq)), 'pdq'), - if_(files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd)), 'lprng'); + if_(files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd)), 'lprng')); } sub printer_type($) { -- cgit v1.2.1