summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS4
-rw-r--r--perl-install/harddrake/data.pm3
2 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 7d3d38eec..36943c60b 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,7 @@
+- harddrake UI:
+ o stop scannerdrake from fooling us about scanners and from leading
+ us to display twice the same device (#31182)
+
Version 10.4.136 - 12 June 2007, by Thierry Vignaud
- diskdrake
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 742efe0ab..76a0465fd 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -523,7 +523,8 @@ our @tree =
icon => "scanner.png",
configurator => "$sbindir/scannerdrake",
detector => sub {
- require scanner; f(scanner::detect()) },
+ require scanner; f(map { $_->{drakx_device} } f(scanner::detect()));
+ },
checked_on_boot => 0,
},