summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/printerdrake.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 225d9a0bd..5eab8b77f 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -2692,9 +2692,7 @@ sub install_spooler {
$in->do_pkgs->install(('cups', 'net-tools', 'xpp',
($::expert ? 'cups-drivers' : ())));
}
- if ((!$::testing) &&
- ((!files_exist((qw(/usr/bin/wget)))) &&
- (!files_exist((qw(/usr/bin/curl)))))) {
+ if (!$::testing && !files_exist(qw(/usr/bin/wget /usr/bin/curl))) {
$in->do_pkgs->install($::isInstall ? 'curl' : 'webfetch');
}
# Try to start the network when CUPS is the spooler, so that