summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-24 03:28:18 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-24 03:28:18 +0000
commit0cba04f3c520d65301c7532e69b7c196a88a88bb (patch)
tree71151f490cb9c0520be4d46dc8a70c1be4ad6785
parente17fd434232bba39822837d5fa7a11026f4698f1 (diff)
downloaddrakx-0cba04f3c520d65301c7532e69b7c196a88a88bb.tar
drakx-0cba04f3c520d65301c7532e69b7c196a88a88bb.tar.gz
drakx-0cba04f3c520d65301c7532e69b7c196a88a88bb.tar.bz2
drakx-0cba04f3c520d65301c7532e69b7c196a88a88bb.tar.xz
drakx-0cba04f3c520d65301c7532e69b7c196a88a88bb.zip
(local_detect) fix modules conf parsing
-rw-r--r--perl-install/printer/detect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 99a1bddeb..c1f4f3aaa 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -7,7 +7,7 @@ use detect_devices;
use printer::data;
sub local_detect() {
- modules::any_conf->vnew->read->get_probeall("usb-interface") and eval { modules::load($usbprintermodule) };
+ modules::any_conf->read->get_probeall("usb-interface") and eval { modules::load($usbprintermodule) };
eval { modules::unload(qw(lp parport_pc parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
eval { modules::load(qw(parport_pc lp)) }; #- take care as not available on 2.4 kernel (silent error).
whatPrinter();