summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-28 13:10:24 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-28 13:10:24 +0000
commitc78e397eaf2b733331d2930436eef2434cbac9a5 (patch)
treeea67623721c6b994f36ba22050767fad05f812f2
parent6493b456fb913f8aaa6023325066bd61925fa3e6 (diff)
downloaddrakx-backup-do-not-use-c78e397eaf2b733331d2930436eef2434cbac9a5.tar
drakx-backup-do-not-use-c78e397eaf2b733331d2930436eef2434cbac9a5.tar.gz
drakx-backup-do-not-use-c78e397eaf2b733331d2930436eef2434cbac9a5.tar.bz2
drakx-backup-do-not-use-c78e397eaf2b733331d2930436eef2434cbac9a5.tar.xz
drakx-backup-do-not-use-c78e397eaf2b733331d2930436eef2434cbac9a5.zip
fix detecting scanners
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/harddrake/data.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 19c6b9803..8c677810c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- harddrake
+ o fix detecting scanners
- scannerdrake:
o do not reject scanners handled by 'usbcore' driver
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 9ae7ea958..d612f9084 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -530,7 +530,7 @@ our @tree =
icon => "scanner.png",
configurator => "$sbindir/scannerdrake",
detector => sub {
- require scanner; f(map { $_->{drakx_device} } f(scanner::detect()));
+ require scanner; f(map { $_->{val}{drakx_device} } f(scanner::detect()));
},
checked_on_boot => 0,
},