summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-08-29 20:40:36 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-08-29 20:40:36 +0000
commit2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13 (patch)
tree7916b60422c061f7bcb1a0058976d4e14cd87eda /perl-install/printer/main.pm
parent588b319c6e7db3272229fb390781b3242f17b86d (diff)
downloaddrakx-2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13.tar
drakx-2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13.tar.gz
drakx-2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13.tar.bz2
drakx-2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13.tar.xz
drakx-2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13.zip
- 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.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm4
1 files changed, 2 insertions, 2 deletions
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($) {