summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-06 18:54:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-06 18:54:31 +0000
commitcca092a8c7c4be4a5874935a790877d949ef238a (patch)
tree920eed6c76a78ef8bfec848893310dca8fbd67c0 /perl-install/standalone
parentc91b9d49efe2f49f5a938f675c2fcc69c9db9758 (diff)
downloaddrakx-cca092a8c7c4be4a5874935a790877d949ef238a.tar
drakx-cca092a8c7c4be4a5874935a790877d949ef238a.tar.gz
drakx-cca092a8c7c4be4a5874935a790877d949ef238a.tar.bz2
drakx-cca092a8c7c4be4a5874935a790877d949ef238a.tar.xz
drakx-cca092a8c7c4be4a5874935a790877d949ef238a.zip
- rename scanner::findScannerUsbport as scanner::detect
as in mouse.pm - scanner::detect : detect SCSI scanners too
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/scannerdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/scannerdrake b/perl-install/standalone/scannerdrake
index 1f6242987..f7406e332 100755
--- a/perl-install/standalone/scannerdrake
+++ b/perl-install/standalone/scannerdrake
@@ -39,7 +39,7 @@ $in = 'interactive'->vnew('su', 'default');
$in->do_pkgs->install('sane-backends', 'xsane', if_($in->do_pkgs->is_installed('gimp'),'xsane-gimp'));
if ($::Manual) { manual(); quit() }
my $wait = $in->wait_message(_("Test ports"), _("Detecting devices ..."));
-@f = scanner::findScannerUsbport();
+@f = scanner::detect();
$wait=undef;
(@f) ? auto() : manual();
quit();
@@ -62,7 +62,7 @@ sub manual {
}
sub dynamic {
- @f = scanner::findScannerUsbport();
+ @f = scanner::detect();
foreach (@f) {
if (member($_->{val}{DESCRIPTION}), keys %$scanner::scannerDB) {
my $name = $_->{val}{DESCRIPTION};