summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/data.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/printer/data.pm b/perl-install/printer/data.pm
index 4985cadc4..3e21e4478 100644
--- a/perl-install/printer/data.pm
+++ b/perl-install/printer/data.pm
@@ -82,7 +82,10 @@ our %spoolers = ('pdq' => {
/sbin/ifconfig
/usr/bin/xpp
/usr/share/cups/model/postscript.ppd.gz),
- $::isInstall ? '/usr/bin/curl' : '/usr/bin/wget' ] ],
+ $::isInstall ||
+ !(-x '/usr/bin/wget') ?
+ '/usr/bin/curl' :
+ '/usr/bin/wget' ] ],
'alternatives' => [
[ 'lpr', '/usr/bin/lpr-cups' ],
[ 'lpq', '/usr/bin/lpq-cups' ],