summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 95a64750b..00b4bbab7 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -164,7 +164,9 @@ sub auto_detect {
}
my $b = before_leaving { eval { modules::unload("parport_probe") } }
if $local;
- detect_devices::whatPrinter($local, $network, $smb);
+ my @res = (($local ? detect_devices::whatPrinter() : ()),
+ ($network || $smb ? printer::whatNetPrinter($network,$smb) : ()));
+ @res;
}
sub wizard_welcome {