From 05c4274a8b44607bf6b2bbed8f9a0d13bc6b7235 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 13 Nov 2002 16:40:02 +0000 Subject: simplify install_spooler() but there's still lot of duplication there (some work for tomorow) --- perl-install/printer/printerdrake.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl-install/printer') 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 -- cgit v1.2.1