summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 996b4730d..cd56f0aae 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -54,7 +54,13 @@ sub spooler {
# LPRng is not officially supported any more since Mandrake 9.0, so
# show it only in the spooler menu when it was manually installed.
- return map { $spoolers{$_}{long_name} } qw(cups pdq), if_(files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd)), 'lprng');
+
+ # PDQ is not officially supported any more since Mandrake 9.1, so
+ # show it only in the spooler menu when it was manually installed.
+
+ return map { $spoolers{$_}{long_name} } qw(cups),
+ if_(files_exist(qw(/usr/bin/pdq)), 'pdq'),
+ if_(files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd)), 'lprng');
}
sub printer_type($) {