summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-11 14:27:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-11 14:27:50 +0000
commit7b4651896ee17d5f5dda786a8672ff9188d7cf38 (patch)
treeda585caa7160b94cec2747bc6f191f2b07085640 /perl-install/printerdrake.pm
parent0cadba080a3485bf36d673d8259d2ef6a995684a (diff)
downloaddrakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.gz
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.bz2
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.xz
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.zip
use get_probeall instead of get_alias for usb-interface
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index b5a15c178..19aabd9b4 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -143,7 +143,7 @@ sub auto_detect {
my ($in) = @_;
{
my $w = $in->wait_message(_("Test ports"), _("Detecting devices..."));
- modules::get_alias("usb-interface") and eval { modules::load("printer") };
+ modules::get_probeall("usb-interface") and eval { modules::load("printer") };
eval { modules::unload(qw(lp parport_pc parport_probe parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
eval { modules::load(qw(parport_pc lp parport_probe)); }; #- take care as not available on 2.4 kernel (silent error).
}